Fix pep8 reports

Zero findings after this commit. We should try to keep that level.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2017-06-21 13:32:55 +02:00
committed by Daniel Wagner
parent 062e919295
commit 6bc8e08459
4 changed files with 10 additions and 6 deletions

View File

@@ -170,7 +170,8 @@ class ReposFetch(Command):
os.makedirs(os.path.dirname(repo.path), exist_ok=True)
gitsrcdir = os.path.join(config.get_repo_ref_dir() or '',
repo.qualified_name)
logging.debug('Looking for repo ref dir in {}'.format(gitsrcdir))
logging.debug('Looking for repo ref dir in {}'.
format(gitsrcdir))
if config.get_repo_ref_dir() and os.path.exists(gitsrcdir):
run_cmd(['/usr/bin/git',
'clone',
@@ -179,7 +180,8 @@ class ReposFetch(Command):
env=config.environ,
cwd=config.kas_work_dir)
else:
run_cmd(['/usr/bin/git', 'clone', '-q', repo.url, repo.path],
run_cmd(['/usr/bin/git', 'clone', '-q', repo.url,
repo.path],
env=config.environ,
cwd=config.kas_work_dir)
continue