Changeset 2561 for WAeUP_SRP


Ignore:
Timestamp:
6 Nov 2007, 21:20:05 (17 years ago)
Author:
Henrik Bettermann
Message:

do not call gzip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTables.py

    r2537 r2561  
    244244        from subprocess import call
    245245        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 = -99
    252             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)
    253253        logger.info(msg)
    254254        args = {'portal_status_message': msg}
Note: See TracChangeset for help on using the changeset viewer.