PR#2454: fix flake8 errors
Merges #2454 https://pagure.io/koji/pull-request/2454
This commit is contained in:
commit
c05ff8b107
2 changed files with 4 additions and 3 deletions
|
|
@ -873,7 +873,8 @@ class RepoManager(object):
|
|||
return
|
||||
elif len(self.tasks) + len(self.other_tasks) >= self.options.repo_tasks_limit:
|
||||
self.logger.debug("Tracked tasks (%s): %s" % (len(self.tasks), list(self.tasks)))
|
||||
self.logger.debug("Untracked tasks (%s): %s" % (len(self.other_tasks), list(self.other_tasks)))
|
||||
self.logger.debug("Untracked tasks (%s): %s" % (len(self.other_tasks),
|
||||
list(self.other_tasks)))
|
||||
self.logger.info("Repo task limit reached")
|
||||
return
|
||||
tagname = tag['taginfo']['name']
|
||||
|
|
|
|||
|
|
@ -511,8 +511,8 @@ class VMExecTask(BaseTaskHandler):
|
|||
|
||||
if opts.get('static_mac'):
|
||||
orig_mac = self.macAddr(orig_vm)
|
||||
#doesn't work anymore, needs to place mac address inside the xml
|
||||
#cmd += ["--mac", orig_mac]
|
||||
# doesn't work anymore, needs to place mac address inside the xml
|
||||
# cmd += ["--mac", orig_mac]
|
||||
opts['static_mac'] = orig_mac
|
||||
|
||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue