Changeset 2561 for WAeUP_SRP/base/WAeUPTables.py
- Timestamp:
- 6 Nov 2007, 21:20:05 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTables.py
r2537 r2561 244 244 from subprocess import call 245 245 msg = "wrote %(total)d records to %(export_file)s" % vars() 246 try:247 retcode = call('gzip %s' % (export_file),shell=True)248 if retcode == 0:249 msg = "wrote %(total)d records to %(export_file)s.gz" % vars()250 except OSError, e:251 retcode = -99252 logger.info("zip failed with %s" % e)246 #try: 247 # retcode = call('gzip %s' % (export_file),shell=True) 248 # if retcode == 0: 249 # msg = "wrote %(total)d records to %(export_file)s.gz" % vars() 250 #except OSError, e: 251 # retcode = -99 252 # logger.info("zip failed with %s" % e) 253 253 logger.info(msg) 254 254 args = {'portal_status_message': msg}
Note: See TracChangeset for help on using the changeset viewer.