Skip to content

Commit

Permalink
Fix type hint in rhsm
Browse files Browse the repository at this point in the history
When type hints for 'dnf' are not available, loading this module would
result in a test failure.
  • Loading branch information
m-horky committed Nov 1, 2023
1 parent 4d8fcd4 commit c8b7cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rhsm/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _uniquify(module_list: list) -> list:
return list(ret.values())

@staticmethod
def fix_aws_rhui_repos(base: dnf.Base) -> None:
def fix_aws_rhui_repos(base: "dnf.Base") -> None:
"""
Try to fix RHUI repos on AWS systems. When the system is running on AWS, then we have
to fix repository URL. See: https://bugzilla.redhat.com/show_bug.cgi?id=1924126
Expand Down

0 comments on commit c8b7cb7

Please sign in to comment.