From cec2095babd4b3e446127c5ad15f1a1e50a574a4 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Mon, 23 Oct 2023 12:53:13 +0100 Subject: [PATCH] Fix pep8 issues --- charmhelpers/osplatform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charmhelpers/osplatform.py b/charmhelpers/osplatform.py index 69cd3bd9a..aae6cdd47 100644 --- a/charmhelpers/osplatform.py +++ b/charmhelpers/osplatform.py @@ -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