python-modernize -f libmodernize.fixes.fix_map
This commit is contained in:
parent
8962c26080
commit
5abd334e85
1 changed files with 2 additions and 1 deletions
3
cli/koji
3
cli/koji
|
|
@ -31,6 +31,7 @@ from six.moves import range
|
|||
from six.moves import zip
|
||||
import six
|
||||
from six.moves import filter
|
||||
from six.moves import map
|
||||
try:
|
||||
import krbV
|
||||
except ImportError: # pragma: no cover
|
||||
|
|
@ -6530,7 +6531,7 @@ def handle_make_task(opts, session, args):
|
|||
if value is not None:
|
||||
taskopts[key] = value
|
||||
task_id = session.makeTask(method=args[0],
|
||||
arglist=map(arg_filter,args[1:]),
|
||||
arglist=list(map(arg_filter,args[1:])),
|
||||
**taskopts)
|
||||
print("Created task id %d" % task_id)
|
||||
if _running_in_bg() or not options.watch:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue