dist-repo-regen.py: Fix pylint errors
E: 41,18: Too many arguments for format string (too-many-format-args) E: 41,64: Using variable 'age' before assignment (used-before-assignment)
This commit is contained in:
parent
bab2147b9a
commit
fce0e3dfb5
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ for koji_env in config['tag2distrepo.tags'].keys():
|
||||||
koji_session.multicall = True
|
koji_session.multicall = True
|
||||||
for tag, [repo] in zip(tags, repos):
|
for tag, [repo] in zip(tags, repos):
|
||||||
if not repo:
|
if not repo:
|
||||||
print('Tag {}: dist repo not available'.format(tag, age))
|
print('Tag {}: dist repo not available'.format(tag))
|
||||||
elif repo['state'] == koji.REPO_INIT:
|
elif repo['state'] == koji.REPO_INIT:
|
||||||
print('Tag {}: dist repo is being generated right now'.format(tag))
|
print('Tag {}: dist repo is being generated right now'.format(tag))
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue