fixed inheritance for exception checks

This commit is contained in:
Dave Halter
2014-06-23 13:01:12 +02:00
parent c1181a0459
commit 393833059a
2 changed files with 10 additions and 1 deletions

View File

@@ -61,6 +61,11 @@ except Undefined:
# inheritance
# -----------------
try:
undefined
except Exception:
pass
# should catch everything
try:
undefined