Added the new "TRY" ast token to the py3flakes checker.

Thu, 11 Oct 2012 19:09:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 11 Oct 2012 19:09:10 +0200
changeset 2133
8e20a87f9809
parent 2132
8f013b041e8a
child 2137
5a9bdcb8c934

Added the new "TRY" ast token to the py3flakes checker.

Utilities/py3flakes/checker.py file | annotate | diff | comparison | revisions
--- a/Utilities/py3flakes/checker.py	Wed Oct 10 20:15:42 2012 +0200
+++ b/Utilities/py3flakes/checker.py	Thu Oct 11 19:09:10 2012 +0200
@@ -303,7 +303,7 @@
 
     # "stmt" type nodes
     RETURN = DELETE = PRINT = WHILE = IF = WITH = WITHITEM = RAISE = \
-    TRYEXCEPT = TRYFINALLY = ASSERT = EXEC = EXPR = handleChildren
+    TRY = TRYEXCEPT = TRYFINALLY = ASSERT = EXEC = EXPR = handleChildren
     
     # "expr" type nodes
     BOOLOP = BINOP = UNARYOP = IFEXP = DICT = SET = YIELD = COMPARE = \

eric ide

mercurial