diff options
Diffstat (limited to 'Examples/python')
| -rw-r--r-- | Examples/python/variables/runme.py | 4 |
1 files changed, 2 insertions, 2 deletions
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." |
