- Timestamp:
- 03/02/04 15:39:02 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1379 r1380 22 22 # 23 23 # $Log$ 24 # Revision 1.60 2004/03/02 14:39:02 jalet 25 # Final fix for printers searching 26 # 24 27 # Revision 1.59 2004/03/02 14:35:46 jalet 25 28 # Missing test when searching printer objects when these objects were manually … … 653 656 if result : 654 657 for (printerid, fields) in result : 655 printername = fields ["pykotaPrinterName"][0]658 printername = fields.get("pykotaPrinterName", [""])[0] or fields.get(self.info["printerrdn"], [""])[0] 656 659 printer = StoragePrinter(self, printername) 657 660 printer.ident = printerid