Show
Ignore:
Timestamp:
05/23/06 23:28:39 (18 years ago)
Author:
jerome
Message:

Introduced the 'askconfirmation' directive in pykota.conf

Files:
1 modified

Legend:

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

    r2759 r2895  
    249249            return      # No prefix to strip off 
    250250             
     251    def getAskConfirmation(self, printername) :         
     252        """Returns the askconfirmation directive's content, or None if unset.""" 
     253        try : 
     254            return self.getPrinterOption(printername, "askconfirmation").strip() 
     255        except PyKotaConfigError :     
     256            return      # No overwriting will be done 
     257             
    251258    def getOverwriteJobTicket(self, printername) :         
    252259        """Returns the overwrite_jobticket directive's content, or None if unset."""