[Python-checkins] r74034 - python/branches/py3k/Parser/asdl.py
alexandre.vassalotti
python-checkins at python.org
Fri Jul 17 07:35:59 CEST 2009
Author: alexandre.vassalotti
Date: Fri Jul 17 07:35:59 2009
New Revision: 74034
Log:
The output() function takes only one string argument.
Modified:
python/branches/py3k/Parser/asdl.py
Modified: python/branches/py3k/Parser/asdl.py
==============================================================================
--- python/branches/py3k/Parser/asdl.py (original)
+++ python/branches/py3k/Parser/asdl.py Fri Jul 17 07:35:59 2009
@@ -323,8 +323,8 @@
try:
meth(object, *args)
except Exception:
- output("Error visiting", repr(object))
- output(sys.exc_info()[1])
+ output("Error visiting" + repr(object))
+ output(str(sys.exc_info()[1]))
traceback.print_exc()
# XXX hack
if hasattr(self, 'file'):
More information about the Python-checkins
mailing list