Changeset 1250

Show
Ignore:
Timestamp:
01/06/04 16:51:24 (20 years ago)
Author:
jalet
Message:

Fixed caching of printer groups

Files:
1 modified

Legend:

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

    r1249 r1250  
    2222# 
    2323# $Log$ 
     24# Revision 1.31  2004/01/06 15:51:24  jalet 
     25# Fixed caching of printer groups 
     26# 
    2427# Revision 1.30  2004/01/06 14:24:59  jalet 
    2528# Printer groups should be cached now, if caching is enabled. 
     
    350353        if self.usecache : 
    351354            self.tool.logdebug("Caching enabled.") 
    352             self.caches = { "USERS" : {}, "GROUPS" : {}, "PRINTERS" : {}, "USERPQUOTAS" : {}, "GROUPPQUOTAS" : {}, "JOBS" : {}, "LASTJOBS" : {} } 
     355            self.caches = { "USERS" : {}, "GROUPS" : {}, "PRINTERS" : {}, "USERPQUOTAS" : {}, "GROUPPQUOTAS" : {}, "JOBS" : {}, "LASTJOBS" : {}, "PARENTPRINTERS" : {} } 
    353356         
    354357    def close(self) :