Show
Ignore:
Timestamp:
06/10/05 22:01:50 (19 years ago)
Author:
jerome
Message:

Added the striptitle directive.

Files:
1 modified

Legend:

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

    r2302 r2307  
    191191            return      # No command to launch in the post-hook 
    192192             
     193    def getStripTitle(self, printername) :     
     194        """Returns the striptitle directive's content, or None if unset.""" 
     195        try : 
     196            return self.getPrinterOption(printername, "striptitle").strip() 
     197        except PyKotaConfigError :     
     198            return      # No prefix to strip off 
     199             
    193200    def getPrinterEnforcement(self, printername) :     
    194201        """Returns if quota enforcement should be strict or laxist for the current printer."""