Changeset 1249 for pykota/trunk/pykota/storage.py
- Timestamp:
- 01/06/04 15:24:59 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r1240 r1249 22 22 # 23 23 # $Log$ 24 # Revision 1.30 2004/01/06 14:24:59 jalet 25 # Printer groups should be cached now, if caching is enabled. 26 # 24 27 # Revision 1.29 2003/12/27 16:49:25 uid67467 25 28 # Should be ok now. … … 423 426 return lastjob 424 427 428 def getParentPrinters(self, printer) : 429 """Extracts parent printers information for a given printer from cache.""" 430 parents = self.getFromCache("PARENTPRINTERS", printer.Name) 431 if parents is None : 432 parents = self.getParentPrintersFromBackend(printer) 433 self.cacheEntry("PARENTPRINTERS", printer.Name, parents) 434 return parents 435 425 436 def getGroupMembers(self, group) : 426 437 """Returns the group's members list from in-group cache."""