Fix pycodestyle 'E722 do not use bare except'

This commit is contained in:
William S Fulton 2017-12-30 21:19:38 +00:00
commit 0b0aed6842

View file

@ -52,14 +52,14 @@ print " Tring to set 'path'"
try:
example.cvar.path = "Whoa!"
print "Hey, what's going on?!?! This shouldn't work"
except:
except Exception:
print "Good."
print " Trying to set 'status'"
try:
example.cvar.status = 0
print "Hey, what's going on?!?! This shouldn't work"
except:
except Exception:
print "Good."