Author: dmeyer
Date: Sun Jan 29 11:11:31 2006
New Revision: 7886
Modified:
trunk/WIP/webserver/setup.py
Log:
stop on template errors
Modified: trunk/WIP/webserver/setup.py
==============================================================================
--- trunk/WIP/webserver/setup.py (original)
+++ trunk/WIP/webserver/setup.py Sun Jan 29 11:11:31 2006
@@ -30,6 +30,7 @@
# -----------------------------------------------------------------------------
import os
+import sys
import glob
import types
@@ -55,7 +56,7 @@
outfile = self.get_module_outfile(self.build_lib, package, module)
tmpfile = outfile[:-2] + ttype
self.copy_file(module_file, tmpfile, preserve_mode=0)
- os.system('%s %s' % (self.template_compiler[ttype], tmpfile))
+ os.system('%s %s' % (self.template_compiler[ttype], tmpfile)) and
sys.exit(1)
os.unlink(tmpfile)
if os.path.isfile(outfile + 'c'):
os.unlink(outfile + 'c')
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog