Commit 9c110bfb authored by Vincent Le gallic's avatar Vincent Le gallic

[pygen] Message d'erreur sur stderr

parent 8f452efe
......@@ -167,7 +167,7 @@ def generate(code, environment=None, logger = None):
except Done, _:
except Exception, exn:
print code
sys.stderr.write('code: %r\n' % code)
sys.stdout = save_stdout
sys.stdout = save_stdout
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment