bots: Fix bare except clause.

This commit is contained in:
Tommy Ip 2017-01-08 15:46:33 +00:00 committed by Tim Abbott
parent 35149e83de
commit 39d7db40b3

View file

@ -46,7 +46,7 @@ while backoff.keep_going():
print("Starting Jabber mirroring bot") print("Starting Jabber mirroring bot")
try: try:
ret = subprocess.call(args) ret = subprocess.call(args)
except: except Exception:
traceback.print_exc() traceback.print_exc()
else: else:
if ret == 2: if ret == 2: