summaryrefslogtreecommitdiff
path: root/cloudinit/handlers/upstart_job.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/handlers/upstart_job.py')
-rw-r--r--cloudinit/handlers/upstart_job.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/handlers/upstart_job.py b/cloudinit/handlers/upstart_job.py
index c5bea711..ab381e00 100644
--- a/cloudinit/handlers/upstart_job.py
+++ b/cloudinit/handlers/upstart_job.py
@@ -80,7 +80,7 @@ def _has_suitable_upstart():
return False
try:
(version_out, _err) = util.subp(["initctl", "version"])
- except:
+ except Exception:
util.logexc(LOG, "initctl version failed")
return False