Skip to content

Commit

Permalink
Adjust to pylint E0601
Browse files Browse the repository at this point in the history
  • Loading branch information
cinek810 committed Oct 13, 2023
1 parent e237522 commit cabff56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/modules/validators/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,12 @@ def validate_self_setup(self, options: dict, config: dict):
infra["name"])
sys.exit(59)
else:
ret = options["self_setup"]
return options["self_setup"]
else:
self.logger.critical("Provided --self-setup path %s does not exist!",
options["self_setup"])
sys.exit(59)

return ret
return None

def validate_commit(self, options: dict, config: dict):
"""Function to validate commit value against config and assign final value"""
Expand Down

0 comments on commit cabff56

Please sign in to comment.