Index: pykota/trunk/pykota/storage.py
===================================================================
--- pykota/trunk/pykota/storage.py (revision 2146)
+++ pykota/trunk/pykota/storage.py (revision 2147)
@@ -20,246 +20,4 @@
 #
 # $Id$
-#
-# $Log$
-# Revision 1.70  2005/02/16 00:29:33  jalet
-# Fixed the maxdenybanners directive.
-# Introduced the denyduplicates directive.
-# Fixed some database related glitches.
-#
-# Revision 1.69  2005/02/13 22:48:37  jalet
-# Added the md5sum to the history
-#
-# Revision 1.68  2005/02/13 22:02:29  jalet
-# Big database structure changes. Upgrade script is now included as well as
-# the new LDAP schema.
-# Introduction of the -o | --overcharge command line option to edpykota.
-# The output of repykota is more complete, but doesn't fit in 80 columns anymore.
-# Introduction of the new 'maxdenybanners' directive.
-#
-# Revision 1.67  2005/01/18 19:47:50  jalet
-# Big bug fix wrt the datelimit attribute
-#
-# Revision 1.66  2004/12/02 21:24:50  jalet
-# Integrated the patch by Wilson Roberto Afonso and Matt Hyclak to allow
-# edpykota to accept the -U | --used value command line option.
-#
-# Revision 1.65  2004/10/25 14:12:25  jalet
-# For URGENT legal reasons (Italy), a new "privacy" directive was added to pykota.conf
-# to hide print jobs' title, filename, and options.
-#
-# Revision 1.64  2004/10/08 20:19:18  jalet
-# Added ugly workaround for strange locale problem
-#
-# Revision 1.63  2004/10/07 21:14:28  jalet
-# Hopefully final fix for data encoding to and from the database
-#
-# Revision 1.62  2004/09/28 17:45:31  jalet
-# Added the --hardreset command line option to edpykota
-#
-# Revision 1.61  2004/09/24 21:19:48  jalet
-# Did a pass of PyChecker
-#
-# Revision 1.60  2004/09/24 20:21:50  jalet
-# Fixed pykotaAccountBalance object location during creation
-#
-# Revision 1.59  2004/09/10 21:32:52  jalet
-# Small fixes for incomplete entry intialization
-#
-# Revision 1.58  2004/09/02 10:09:30  jalet
-# Fixed bug in LDAP user deletion code which didn't correctly delete the user's
-# pykotaLastJob entries.
-#
-# Revision 1.57  2004/07/22 22:41:48  jalet
-# Hardware accounting for LPRng should be OK now. UNTESTED.
-#
-# Revision 1.56  2004/07/01 17:45:49  jalet
-# Added code to handle the description field for printers
-#
-# Revision 1.55  2004/06/05 22:18:04  jalet
-# Now catches some exceptions earlier.
-# storage.py and ldapstorage.py : removed old comments
-#
-# Revision 1.54  2004/06/05 22:03:49  jalet
-# Payments history is now stored in database
-#
-# Revision 1.53  2004/06/03 23:14:10  jalet
-# Now stores the job's size in bytes in the database.
-# Preliminary work on payments storage : database schemas are OK now,
-# but no code to store payments yet.
-# Removed schema picture, not relevant anymore.
-#
-# Revision 1.52  2004/05/26 14:49:57  jalet
-# First try at saving the job-originating-hostname in the database
-#
-# Revision 1.51  2004/03/24 15:15:24  jalet
-# Began integration of Henrik Janhagen's work on quota-then-balance
-# and balance-then-quota
-#
-# Revision 1.50  2004/03/09 08:05:27  jalet
-# Small fix : only keeps existing quota entries when searching parents
-#
-# Revision 1.49  2004/03/01 15:06:51  jalet
-# Pre and Post hooks should now work in the pykota filter too.
-# The pykota filter doesn't check the last user's quota anymore
-# when delayed hardware accounting is used : this will be checked
-# anyway the next time the last user will print
-#
-# Revision 1.48  2004/02/27 13:50:12  jalet
-# Hopefully the final fix for groups (users and printers)
-#
-# Revision 1.47  2004/02/27 09:30:33  jalet
-# datelimit wasn't reset when modifying soft and hard limits with the LDAP backend
-#
-# Revision 1.46  2004/02/26 14:18:07  jalet
-# Should fix the remaining bugs wrt printers groups and users groups.
-#
-# Revision 1.45  2004/02/26 10:40:40  jalet
-# Fixed nested printer groups accounting.
-#
-# Revision 1.44  2004/02/25 19:09:24  jalet
-# Fix for LDAP problem when job price was 0.
-#
-# Revision 1.43  2004/02/25 12:36:34  jalet
-# Avoids a database query even if caching was disabled.
-#
-# Revision 1.42  2004/02/23 22:53:21  jalet
-# Don't retrieve data when it's not needed, to avoid database queries
-#
-# Revision 1.41  2004/02/04 17:12:33  jalet
-# Removing a printer from a printers group should work now.
-#
-# Revision 1.40  2004/02/04 13:24:41  jalet
-# pkprinters can now remove printers from printers groups.
-#
-# Revision 1.39  2004/02/04 11:16:59  jalet
-# pkprinters command line tool added.
-#
-# Revision 1.38  2004/01/12 22:43:40  jalet
-# New formula to compute a job's price
-#
-# Revision 1.37  2004/01/12 14:35:01  jalet
-# Printing history added to CGI script.
-#
-# Revision 1.36  2004/01/10 09:44:02  jalet
-# Fixed potential accuracy problem if a user printed on several printers at
-# the very same time.
-#
-# Revision 1.35  2004/01/08 16:33:27  jalet
-# Additionnal check to not create a circular printers group.
-#
-# Revision 1.34  2004/01/08 16:24:49  jalet
-# edpykota now supports adding printers to printer groups.
-#
-# Revision 1.33  2004/01/08 14:10:32  jalet
-# Copyright year changed.
-#
-# Revision 1.32  2004/01/06 16:02:57  jalet
-# This time printer groups caching works.
-#
-# Revision 1.31  2004/01/06 15:51:24  jalet
-# Fixed caching of printer groups
-#
-# Revision 1.30  2004/01/06 14:24:59  jalet
-# Printer groups should be cached now, if caching is enabled.
-#
-# Revision 1.29  2003/12/27 16:49:25  uid67467
-# Should be ok now.
-#
-# Revision 1.28  2003/11/25 23:46:40  jalet
-# Don't try to verify if module name is valid, Python does this better than us.
-#
-# Revision 1.27  2003/11/23 19:01:36  jalet
-# Job price added to history
-#
-# Revision 1.26  2003/11/21 14:28:45  jalet
-# More complete job history.
-#
-# Revision 1.25  2003/10/08 21:12:27  jalet
-# Do not cache anymore entries which don't exist.
-#
-# Revision 1.24  2003/10/07 22:06:05  jalet
-# Preliminary code to disable job history
-#
-# Revision 1.23  2003/10/07 09:07:28  jalet
-# Character encoding added to please latest version of Python
-#
-# Revision 1.22  2003/10/06 13:12:27  jalet
-# More work on caching
-#
-# Revision 1.21  2003/10/03 09:02:20  jalet
-# Logs cache store actions too
-#
-# Revision 1.20  2003/10/02 20:23:18  jalet
-# Storage caching mechanism added.
-#
-# Revision 1.19  2003/07/16 21:53:07  jalet
-# Really big modifications wrt new configuration file's location and content.
-#
-# Revision 1.18  2003/07/07 08:33:18  jalet
-# Bug fix due to a typo in LDAP code
-#
-# Revision 1.17  2003/07/05 07:46:50  jalet
-# The previous bug fix was incomplete.
-#
-# Revision 1.16  2003/06/25 19:52:31  jalet
-# Should be ready for testing :-)
-#
-# Revision 1.15  2003/06/25 14:10:58  jalet
-# Exception raising for now.
-#
-# Revision 1.14  2003/06/25 14:10:01  jalet
-# Hey, it may work (edpykota --reset excepted) !
-#
-# Revision 1.13  2003/06/10 16:37:54  jalet
-# Deletion of the second user which is not needed anymore.
-# Added a debug configuration field in /etc/pykota.conf
-# All queries can now be sent to the logger in debug mode, this will
-# greatly help improve performance when time for this will come.
-#
-# Revision 1.12  2003/04/23 22:13:57  jalet
-# Preliminary support for LPRng added BUT STILL UNTESTED.
-#
-# Revision 1.11  2003/04/10 21:47:20  jalet
-# Job history added. Upgrade script neutralized for now !
-#
-# Revision 1.10  2003/03/29 13:45:27  jalet
-# GPL paragraphs were incorrectly (from memory) copied into the sources.
-# Two README files were added.
-# Upgrade script for PostgreSQL pre 1.01 schema was added.
-#
-# Revision 1.9  2003/02/17 22:55:01  jalet
-# More options can now be set per printer or globally :
-#
-#       admin
-#       adminmail
-#       gracedelay
-#       requester
-#
-# the printer option has priority when both are defined.
-#
-# Revision 1.8  2003/02/17 22:05:50  jalet
-# Storage backend now supports admin and user passwords (untested)
-#
-# Revision 1.7  2003/02/10 12:07:31  jalet
-# Now repykota should output the recorded total page number for each printer too.
-#
-# Revision 1.6  2003/02/09 13:05:43  jalet
-# Internationalization continues...
-#
-# Revision 1.5  2003/02/08 22:39:46  jalet
-# --reset command line option added
-#
-# Revision 1.4  2003/02/08 09:59:59  jalet
-# Added preliminary base class for all storages
-#
-# Revision 1.3  2003/02/05 22:10:29  jalet
-# Typos
-#
-# Revision 1.2  2003/02/05 22:02:22  jalet
-# __import__ statement didn't work as expected
-#
-# Revision 1.1  2003/02/05 21:28:17  jalet
-# Initial import into CVS
-#
 #
 #
