From: <fwi...@us...> - 2008-09-26 14:42:17
|
Revision: 5350 http://jython.svn.sourceforge.net/jython/?rev=5350&view=rev Author: fwierzbicki Date: 2008-09-26 14:41:55 +0000 (Fri, 26 Sep 2008) Log Message: ----------- Correct this for new __class__.__name__ package truncating behavior of Java classes. Modified Paths: -------------- trunk/jython/ast/astview.py Modified: trunk/jython/ast/astview.py =================================================================== --- trunk/jython/ast/astview.py 2008-09-25 21:16:30 UTC (rev 5349) +++ trunk/jython/ast/astview.py 2008-09-26 14:41:55 UTC (rev 5350) @@ -19,11 +19,11 @@ def get_class_name(t): result = t.__class__.__name__ - if result in ("org.python.antlr.ast.expr_contextType", - "org.python.antlr.ast.boolopType", - "org.python.antlr.ast.unaryopType", - "org.python.antlr.ast.cmpopType", - "org.python.antlr.ast.operatorType"): + if result in ("expr_contextType", + "boolopType", + "unaryopType", + "cmpopType", + "operatorType"): result = str(t) if result == "AugLoad": result = "Load" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |