Show
Ignore:
Timestamp:
10/25/04 16:12:25 (20 years ago)
Author:
jalet
Message:

For URGENT legal reasons (Italy), a new "privacy" directive was added to pykota.conf
to hide print jobs' title, filename, and options.

Files:
1 modified

Legend:

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

    r1785 r1875  
    2222# 
    2323# $Log$ 
     24# Revision 1.54  2004/10/25 14:12:25  jalet 
     25# For URGENT legal reasons (Italy), a new "privacy" directive was added to pykota.conf 
     26# to hide print jobs' title, filename, and options. 
     27# 
    2428# Revision 1.53  2004/10/06 10:05:47  jalet 
    2529# Minor changes to allow any PyKota administrator to launch enhanced versions 
     
    524528            return _("You will soon be forbidden to print anymore because\nyour Print Quota is almost reached on printer %s.") % printername 
    525529             
     530    def getPrivacy(self) :         
     531        """Returns 1 if privacy is activated, else 0.""" 
     532        return self.isTrue(self.getGlobalOption("privacy", ignore=1)) 
     533         
    526534    def getDebug(self) :           
    527535        """Returns 1 if debugging is activated, else 0."""