Show
Ignore:
Timestamp:
04/14/07 10:50:47 (17 years ago)
Author:
jerome
Message:

Added the 'skipinitialwait' directive to pykota.conf.
This halves the inter-job delay when using hardware accounting
when set.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/config.py

    r3158 r3162  
    691691            else : 
    692692                del branches[k] # empty value disables a global option 
    693                  
    694693        return branches 
     694         
     695    def getPrinterSkipInitialWait(self, printername) : 
     696        """Returns True if we want to skip the initial waiting loop, else False.""" 
     697        try : 
     698            return self.isTrue(self.getPrinterOption(printername, "skipinitialwait")) 
     699        except PyKotaConfigError : 
     700            return False