The output() function takes only one string argument.

This commit is contained in:
Alexandre Vassalotti 2009-07-17 05:35:59 +00:00
parent 7aaa770b08
commit df6f3fdaaf

View file

@ -323,8 +323,8 @@ def visit(self, object, *args):
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'):