diff --git a/Examples/python/variables/runme.py b/Examples/python/variables/runme.py index 3388a0eba..fba485aca 100644 --- a/Examples/python/variables/runme.py +++ b/Examples/python/variables/runme.py @@ -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."