ajout de traceback

darcs-hash:20080209010131-af139-e1cc9fd883d67c891dac9b8d602bff10aa35bf55.gz
This commit is contained in:
Jeremie Dimino 2008-02-09 02:01:31 +01:00
parent 2b9c65a1de
commit f407272074
2 changed files with 15 additions and 8 deletions

View file

@ -25,7 +25,7 @@ fichier de configuration à partir d'un script python'''
__all__ = [ "Environment", "compileSource", "generate", "load" ]
import re, marshal, os
import re, marshal, os, sys
from cStringIO import StringIO
# Pour l'arrêt d'un script
@ -180,8 +180,6 @@ def load(fname, cfname=None):
return code
if __name__ == "__main__":
import sys
result = generate(load(sys.argv[1]))
print "resultat:"