flake8: apply F rules for koji-shadow

This commit is contained in:
Yuming Zhu 2020-02-26 01:39:55 +08:00
parent 49504073b1
commit 0a0ee577ec

View file

@ -182,23 +182,6 @@ def get_options():
else:
log(config.get(*alias))
setattr(defaults, name, config.get(*alias))
#config file options without a cmdline equivalent
otheropts = [
#name, type, default
['keytab', None, 'string'],
['principal', None, 'string'],
['runas', None, 'string'],
['user', None, 'string'],
['password', None, 'string'],
['noauth', None, 'boolean'],
['server', None, 'string'],
['remote', None, 'string'],
['max_jobs', None, 'int'],
['serverca', None, 'string'],
['auth_cert', None, 'string'],
['arches', None, 'string'],
]
#parse again with updated defaults
(options, args) = parser.parse_args(values=defaults)
@ -921,11 +904,6 @@ class BuildTracker(object):
self.tagSuccessful(build.nvr, tag)
return True
def scan(self):
"""Scan based on config file"""
to_scan = []
alltags = remote.listTags()
def rebuild(self, build):
"""Rebuild a remote build using closest possible buildroot"""
#first check that we can