Changeset 1992
- Timestamp:
- 12/21/04 17:19:44 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/sql.py
r1991 r1992 22 22 # 23 23 # $Log$ 24 # Revision 1.62 2004/12/21 16:19:44 jalet 25 # Fixed the problem with dumpykota's filtering of printers groups membership 26 # 24 27 # Revision 1.61 2004/12/21 15:49:59 jalet 25 28 # The dumpykota command now supports extended filtering capabilities with … … 207 210 def extractPmembers(self, extractonly={}) : 208 211 """Extracts all printer groups members.""" 212 for (k, v) in extractonly.items() : 213 if k == "pgroupname" : 214 del extractonly[k] 215 extractonly["p1.printername"] = v 216 elif k == "printername" : 217 del extractonly[k] 218 extractonly["p2.printername"] = v 209 219 thefilter = self.createFilter(extractonly) 210 220 if thefilter :