summaryrefslogtreecommitdiff
path: root/zuul/scheduler.py
diff options
context:
space:
mode:
authorDavid Shrewsbury <shrewsbury.dave@gmail.com>2017-10-23 12:19:13 -0400
committerJames E. Blair <jeblair@redhat.com>2017-10-23 10:50:32 -0700
commit70798ea74b7a584c6e800cf8b51e634abbd06ec3 (patch)
treeb3a27af5138122b6ffda787123dc53ba475c982c /zuul/scheduler.py
parent271475a4a9259d521187f39d80cb2d4685883dd7 (diff)
downloadzuul-70798ea74b7a584c6e800cf8b51e634abbd06ec3.tar.gz
Fix for pep8 E722 and ignore E741
New flake8 release causes these to suddenly show up. Change-Id: If7fa5a549a2e1651d0353defcc910374bdd226c2
Diffstat (limited to 'zuul/scheduler.py')
-rw-r--r--zuul/scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/zuul/scheduler.py b/zuul/scheduler.py
index f3cb479bc..95bc0bbdd 100644
--- a/zuul/scheduler.py
+++ b/zuul/scheduler.py
@@ -501,11 +501,11 @@ class Scheduler(threading.Thread):
def resume(self):
try:
self._load_queue()
- except:
+ except Exception:
self.log.exception("Unable to load queue")
try:
self._delete_queue()
- except:
+ except Exception:
self.log.exception("Unable to delete saved queue")
self.log.debug("Resuming queue processing")
self.wake_event.set()