fixed inheritance for exception checks
This commit is contained in:
1 parent
c1181a0459
commit
393833059a
2 files changed
+10
-1
No files matched your search
@@ -61,6 +61,11 @@ except Undefined:
|
||||
# inheritance
|
||||
# -----------------
|
||||
|
||||
try:
|
||||
undefined
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# should catch everything
|
||||
try:
|
||||
undefined
|
||||
|
||||
Reference in new issue
Block a user