Changeset 1259 for pykota/trunk/pykota/storage.py
- Timestamp:
- 01/08/04 17:33:27 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r1258 r1259 22 22 # 23 23 # $Log$ 24 # Revision 1.35 2004/01/08 16:33:27 jalet 25 # Additionnal check to not create a circular printers group. 26 # 24 27 # Revision 1.34 2004/01/08 16:24:49 jalet 25 28 # edpykota now supports adding printers to printer groups. … … 245 248 def addPrinterToGroup(self, printer) : 246 249 """Adds a printer to a printer group.""" 247 if printer not in self.parent.getParentPrinters(self) :250 if (printer not in self.parent.getParentPrinters(self)) and (printer.ident != self.ident) : 248 251 self.parent.writePrinterToGroup(self, printer) 249 252