Changeset 1875 for pykota/trunk/pykota/storages/sql.py
- Timestamp:
- 10/25/04 16:12:25 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/sql.py
r1806 r1875 22 22 # 23 23 # $Log$ 24 # Revision 1.59 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 # 24 28 # Revision 1.58 2004/10/12 08:58:53 jalet 25 29 # Now warnpykota only warns users who have already printed, to not confuse … … 483 487 def writeJobNew(self, printer, user, jobid, pagecounter, action, jobsize=None, jobprice=None, filename=None, title=None, copies=None, options=None, clienthost=None, jobsizebytes=None) : 484 488 """Adds a job in a printer's history.""" 489 if self.privacy : 490 # For legal reasons, we want to hide the title, filename and options 491 title = filename = options = "Hidden because of privacy concerns" 485 492 filename = self.userCharsetToDatabase(filename) 486 493 title = self.userCharsetToDatabase(title)