flake8: follow E265 rule

This commit is contained in:
Yuming Zhu 2020-02-25 22:50:14 +08:00
parent 642508ccf6
commit 97cfaa4fcf
27 changed files with 794 additions and 793 deletions

View file

@ -50,7 +50,7 @@ def register_plugin(plugin):
"""
for v in six.itervalues(vars(plugin)):
if isinstance(v, six.class_types):
#skip classes
# skip classes
continue
if callable(v):
if getattr(v, 'exported_cli', False):
@ -166,12 +166,12 @@ def get_options():
value = os.path.expanduser(getattr(options, name))
setattr(options, name, value)
#honor topdir
# honor topdir
if options.topdir:
koji.BASEDIR = options.topdir
koji.pathinfo.topdir = options.topdir
#pkgurl is obsolete
# pkgurl is obsolete
if options.pkgurl:
if options.topurl:
warn("Warning: the pkgurl option is obsolete")