- Timestamp:
- 01/28/04 11:05:22 (21 years ago)
- Location:
- pykota/trunk
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r1294 r1318 24 24 # 25 25 # $Log$ 26 # Revision 1.68 2004/01/28 10:05:22 jalet 27 # New user/group deletion code 28 # 26 29 # Revision 1.67 2004/01/15 11:19:07 jalet 27 30 # Typos in messages wrt gettext. … … 497 500 printersgroups = self.storage.getMatchingPrinters(options["pgroups"]) 498 501 502 todelete = {} 499 503 changed = {} # tracks changes made at the user/group level 500 504 for printer in printers : … … 577 581 else : 578 582 if options["delete"] : 579 entry.delete()583 todelete[entry.Name] = entry # will be done for each printer, we don't care. 580 584 else : 581 585 if options["noquota"] or options["prototype"] or ((softlimit is not None) and (hardlimit is not None)) : … … 616 620 # The check will be done at print time anyway. 617 621 # getattr(self, "warn%sPQuota" % suffix)(entrypquota) 622 623 # Now delete what has to be deleted 624 for (name, entry) in todelete.items() : 625 entry.delete() 618 626 619 627 if __name__ == "__main__" : -
pykota/trunk/NEWS
r1308 r1318 22 22 PyKota NEWS : 23 23 24 - 1.17alpha1 : 25 26 - User/Group deletion code in edpykota rewritten. 27 24 28 - 1.16 : 25 29 -
pykota/trunk/pykota/version.py
r1313 r1318 22 22 # 23 23 24 __version__ = "1.1 6_unofficial"24 __version__ = "1.17alpha1_unofficial" 25 25 26 26 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""