Skip to content

Commit

Permalink
Fix pep8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkavanagh committed Oct 23, 2023
1 parent 9333fea commit cec2095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charmhelpers/osplatform.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def _get_platform_from_fs():
return content["NAME"]


## If the unit-test mode is set, the platform is always "ubuntu"
# If the unit-test mode is set, the platform is always "ubuntu"
if not os.environ.get('CHARMHELPERS_IN_UNITTEST', False):
get_platform = _get_platform
else:
get_platform = lambda: "ubuntu"
get_platform = lambda: "ubuntu" # noqa

0 comments on commit cec2095

Please sign in to comment.