Show
Ignore:
Timestamp:
09/23/06 09:38:45 (18 years ago)
Author:
jerome
Message:

Fixed a minor cleaning problem when an exception happens early
at database connection time.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r3018 r3023  
    537537        self.deinstallSigTermHandler() 
    538538        if (self.DataFile is not None) and os.path.exists(self.DataFile) : 
    539             if not self.config.getPrinterKeepFiles(self.PrinterName) : 
     539            try : 
     540                keep = self.config.getPrinterKeepFiles(self.PrinterName) 
     541            except AttributeError :     
     542                keep = False 
     543            if not keep : 
    540544                self.logdebug("Work file %s will be deleted." % self.DataFile) 
    541545                try :