eric6/ThirdParty/Jasy/jasy/parse/AbstractNode.py

changeset 7239
3e9e09a49cf5
parent 6942
2602857055c5
--- a/eric6/ThirdParty/Jasy/jasy/parse/AbstractNode.py	Mon Sep 16 18:42:22 2019 +0200
+++ b/eric6/ThirdParty/Jasy/jasy/parse/AbstractNode.py	Mon Sep 16 18:56:09 2019 +0200
@@ -330,7 +330,7 @@
         """Returns the source code of the node"""
 
         if not self.tokenizer:
-            raise Exception("Could not find source for node '%s'" % node.type)
+            raise Exception("Could not find source for node '%s'" % self.type)
 
         if getattr(self, "start", None) is not None:
             if getattr(self, "end", None) is not None:

eric ide

mercurial