# HG changeset patch # User fubar # Date 1406515301 14400 # Node ID f87139fe5e0979c34029ae07eb4d2707f6224172 # Parent 8aab0f66cd5f9d36b374464a6493ea574174a8c8 fix for py script parsing diff -r 8aab0f66cd5f -r f87139fe5e09 rgToolFactory.py --- a/rgToolFactory.py Tue Mar 25 22:17:20 2014 -0400 +++ b/rgToolFactory.py Sun Jul 27 22:41:41 2014 -0400 @@ -159,7 +159,7 @@ self.xmlfile = '%s.xml' % self.toolname s = open(self.opts.script_path,'r').readlines() s = [x.rstrip() for x in s] # remove pesky dos line endings if needed - s = [x.lstrip() for x in s] # and left padding + # s = [x.lstrip() for x in s] # and left padding self.script = '\n'.join(s) fhandle,self.sfile = tempfile.mkstemp(prefix=self.toolname,suffix=".%s" % (opts.interpreter)) tscript = open(self.sfile,'w') # use self.sfile as script source for Popen