crecord error...
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 19 Mar 2010 19:49:10 +0100
changeset 512 3bfc7423b041
parent 511 2a91bdfedde4
child 513 e5419856c066
child 514 74eba13308fe
crecord error...
stcheck.py
--- a/stcheck.py	Fri Mar 19 17:08:56 2010 +0100
+++ b/stcheck.py	Fri Mar 19 19:49:10 2010 +0100
@@ -319,8 +319,8 @@
     def visit_function(self, function, errors):
         try:
             funcdescr = function_description(function.name)
+        except UnknownFunction:
             errors.append('unknown function "%s"' % function.name)
-        except UnknownFunction:
         else:
             try:
                 funcdescr.check_nbargs(len(function.children))