Changeset 1810 for pykota/trunk

Show
Ignore:
Timestamp:
10/12/04 19:08:32 (20 years ago)
Author:
jalet
Message:

alreadydone mapping was reset in each iteration, this is fixed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/warnpykota

    r1808 r1810  
    2424# 
    2525# $Log$ 
     26# Revision 1.36  2004/10/12 17:08:32  jalet 
     27# alreadydone mapping was reset in each iteration, this is fixed. 
     28# 
    2629# Revision 1.35  2004/10/12 09:14:03  jalet 
    2730# Ensures that warnpykota still test other quota entries for each user if 
     
    239242        if not printers : 
    240243            raise PyKotaToolError, _("There's no printer matching %s") % options["printer"] 
     244        alreadydone = {} 
    241245        for printer in printers : 
    242246            if options["groups"] : 
     
    244248                    self.warnGroupPQuota(grouppquota) 
    245249            else : 
    246                 alreadydone = {} 
    247250                for (user, userpquota) in self.storage.getPrinterUsersAndQuotas(printer, ugnames) : 
    248251                    # we only want to warn users who have ever printed something