Skip to content

Commit

Permalink
remove None as default parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfratrik committed Aug 6, 2024
1 parent 4042685 commit 49708b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/system_upgrade/common/libraries/repofileutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


class InvalidRepoDefinition(Exception):
def __init__(self, msg, repofile=None, repoid=None):
def __init__(self, msg, repofile, repoid):
message = 'Invalid repository definition: {repoid} in: {repofile}: {msg}'.format(
repoid=repoid, repofile=repofile, msg=msg)
super(InvalidRepoDefinition, self).__init__(message)
Expand Down

0 comments on commit 49708b5

Please sign in to comment.