flake8: apply E2 rules except E266
This commit is contained in:
parent
ce1f9928af
commit
05340b146b
28 changed files with 707 additions and 706 deletions
|
|
@ -58,12 +58,12 @@ def handle_runroot(options, session, args):
|
|||
else:
|
||||
command = args[2:]
|
||||
try:
|
||||
kwargs = { 'channel': opts.channel_override,
|
||||
'packages': opts.package,
|
||||
'mounts': opts.mount,
|
||||
'repo_id': opts.repo_id,
|
||||
'skip_setarch': opts.skip_setarch,
|
||||
'weight': opts.weight }
|
||||
kwargs = {'channel': opts.channel_override,
|
||||
'packages': opts.package,
|
||||
'mounts': opts.mount,
|
||||
'repo_id': opts.repo_id,
|
||||
'skip_setarch': opts.skip_setarch,
|
||||
'weight': opts.weight}
|
||||
# Only pass this kwarg if it is true - this prevents confusing older
|
||||
# builders with a different function signature
|
||||
if opts.new_chroot is not None:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ def handle_add_sidetag(options, session, args):
|
|||
parser.error(_("Policy violation"))
|
||||
|
||||
if not opts.quiet:
|
||||
print (tag["name"])
|
||||
print(tag["name"])
|
||||
|
||||
if opts.wait:
|
||||
args = ["--target", tag["name"]]
|
||||
|
|
@ -88,4 +88,4 @@ def handle_list_sidetags(options, session, args):
|
|||
user = opts.user
|
||||
|
||||
for tag in session.listSideTags(basetag=opts.basetag, user=user):
|
||||
print (tag["name"])
|
||||
print(tag["name"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue