Fix flake8 style reports

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2020-06-17 08:09:14 +02:00
parent f8067a449b
commit 839c936abb
5 changed files with 7 additions and 7 deletions

View File

@@ -132,8 +132,8 @@ class SetupHome(Command):
'\temail = kas@example.com\n'
'\tname = Kas User\n')
if (os.environ.get('AWS_CONFIG_FILE', False)
and os.environ.get('AWS_SHARED_CREDENTIALS_FILE', False)):
if os.environ.get('AWS_CONFIG_FILE', False) \
and os.environ.get('AWS_SHARED_CREDENTIALS_FILE', False):
os.makedirs(self.tmpdirname + "/.aws")
shutil.copy(os.environ['AWS_CONFIG_FILE'],