Changeset 1333 for pykota

Show
Ignore:
Timestamp:
02/04/04 18:12:33 (21 years ago)
Author:
jalet
Message:

Removing a printer from a printers group should work now.

Files:
1 modified

Legend:

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

    r1332 r1333  
    2222# 
    2323# $Log$ 
     24# Revision 1.41  2004/02/04 17:12:33  jalet 
     25# Removing a printer from a printers group should work now. 
     26# 
    2427# Revision 1.40  2004/02/04 13:24:41  jalet 
    2528# pkprinters can now remove printers from printers groups. 
     
    269272    def delPrinterFromGroup(self, printer) :     
    270273        """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) 
    273             # TODO : reset cached value for printer parents, or add new parent to cached value 
     274        self.parent.removePrinterFromGroup(self, printer) 
     275        # TODO : reset cached value for printer parents, or add new parent to cached value 
    274276         
    275277    def setPrices(self, priceperpage = None, priceperjob = None) :