Changeset 1332 for pykota/trunk/pykota/storage.py
- Timestamp:
- 02/04/04 14:24:41 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r1330 r1332 22 22 # 23 23 # $Log$ 24 # Revision 1.40 2004/02/04 13:24:41 jalet 25 # pkprinters can now remove printers from printers groups. 26 # 24 27 # Revision 1.39 2004/02/04 11:16:59 jalet 25 28 # pkprinters command line tool added. … … 262 265 if (printer not in self.parent.getParentPrinters(self)) and (printer.ident != self.ident) : 263 266 self.parent.writePrinterToGroup(self, printer) 267 # TODO : reset cached value for printer parents, or add new parent to cached value 268 269 def delPrinterFromGroup(self, printer) : 270 """Deletes a printer from a printer group.""" 271 if (printer in self.parent.getParentPrinters(self)) and (printer.ident != self.ident) : 272 self.parent.removePrinterFromGroup(self, printer) 264 273 # TODO : reset cached value for printer parents, or add new parent to cached value 265 274