python-modernize -f libmodernize.fixes.fix_dict_six

This commit is contained in:
Tomas Kopecek 2018-06-28 16:54:03 +02:00 committed by Mike McLean
parent b96092334d
commit bcee24e50c
20 changed files with 130 additions and 112 deletions

View file

@ -8,7 +8,7 @@
from koji.plugin import callbacks, callback, ignore_error
import logging
@callback(*callbacks.keys())
@callback(*list(callbacks.keys()))
@ignore_error
def echo(cbtype, *args, **kws):
logging.getLogger('koji.plugin.echo').info('Called the %s callback, args: %s; kws: %s',