Changeset 1379
- Timestamp:
- 03/02/04 15:35:46 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1367 r1379 22 22 # 23 23 # $Log$ 24 # Revision 1.59 2004/03/02 14:35:46 jalet 25 # Missing test when searching printer objects when these objects were manually 26 # created and don't contain the pykotaPrinterName attribute 27 # 24 28 # Revision 1.58 2004/02/27 09:30:33 jalet 25 29 # datelimit wasn't reset when modifying soft and hard limits with the LDAP backend … … 646 650 printers = [] 647 651 # see comment at the same place in pgstorage.py 648 result = self.doSearch("(&(objectClass=pykotaPrinter)(|%s))" % "".join(["(pykotaPrinterName=%s) " % pnamefor pname in printerpattern.split(",")]), ["pykotaPrinterName", "pykotaPricePerPage", "pykotaPricePerJob", "uniqueMember"], base=self.info["printerbase"])652 result = self.doSearch("(&(objectClass=pykotaPrinter)(|%s))" % "".join(["(pykotaPrinterName=%s)(%s=%s)" % (pname, self.info["printerrdn"], pname) for pname in printerpattern.split(",")]), ["pykotaPrinterName", "pykotaPricePerPage", "pykotaPricePerJob", "uniqueMember"], base=self.info["printerbase"]) 649 653 if result : 650 654 for (printerid, fields) in result :