Author: gnichols Date: 2011-07-25 16:32:12 +0000 (Mon, 25 Jul 2011) New Revision: 1032
Modified: trunk/server/cgi/saveFile.py trunk/v7/documentbase.py Log: 725441 - FEAT: save command should store results on server for review
Modified: trunk/server/cgi/saveFile.py =================================================================== --- trunk/server/cgi/saveFile.py 2011-07-25 14:20:26 UTC (rev 1031) +++ trunk/server/cgi/saveFile.py 2011-07-25 16:32:12 UTC (rev 1032) @@ -43,12 +43,10 @@ except: print "Error: no server-path is set" return False - print "server-path:" + if serverPath.value: - serverPath = os.path.join(*serverPath.value.split()) - print serverPath + serverPath = os.path.join(*serverPath.value.splitlines()) directory = os.path.join(environment.getServerDirectory(), "store", serverPath) - print "directory %s" % directory try: os.makedirs(directory) except OSError:
Modified: trunk/v7/documentbase.py =================================================================== --- trunk/v7/documentbase.py 2011-07-25 14:20:26 UTC (rev 1031) +++ trunk/v7/documentbase.py 2011-07-25 16:32:12 UTC (rev 1032) @@ -272,7 +272,7 @@ except: pass try: - gzip = Command("gzip %s" % filename) + gzip = Command("gzip "%s"" % filename) gzip.run() return True except Exception, exception:
v7-commits@lists.stg.fedorahosted.org