Changeset 32824 for trunk/ippToPsps
- Timestamp:
- Nov 25, 2011, 2:50:04 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/batch.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/batch.py
r32819 r32824 296 296 # tar directory 297 297 cmd = "tar -cvf " + tarPath + " -C " + self.subDir + " " + self.batchName 298 self.logger.infoPair(" Running", cmd)298 self.logger.infoPair("Creating tar archive", cmd) 299 299 p = Popen(cmd, shell=True, stdout=PIPE) 300 300 p.wait() … … 306 306 # zip tar archive 307 307 cmd = "gzip -c " + tarPath + " > " + tarballPath 308 self.logger.infoPair(" Running", cmd)308 self.logger.infoPair("Compressing tar archive", cmd) 309 309 p = Popen(cmd, shell=True, stdout=PIPE) 310 310 p.wait() … … 315 315 316 316 # only now can we report that the batch has successfully processed 317 self.logger.infoPair("Batch tar 'n zip successful", "setting batch to 'processed'")318 317 self.ippToPspsDb.updateProcessed(self.batchID, 1) 319 318
Note:
See TracChangeset
for help on using the changeset viewer.
