Changeset 2366 for pykota

Show
Ignore:
Timestamp:
07/18/05 10:19:18 (19 years ago)
Author:
jerome
Message:

Don't create unneeded print quota entries anymore.

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/autopykota

    r2344 r2366  
    8080            else : 
    8181                self.logdebug("User %s doesn't exist yet." % username) 
    82                 self.logdebug("Creating user %s's account with balance %s and quota entries on all existing printers." % (username, options["initbalance"])) 
    83                 return os.system('edpykota --add --limitby balance --balance "%s" "%s"' % (options["initbalance"], username)) 
     82                self.logdebug("Creating user %s's account with balance %s and quota entries on printer %s." % (username, options["initbalance"], printername)) 
     83                return os.system('edpykota --add --limitby balance --balance "%s" --printer "%s" "%s"' % (options["initbalance"], printername, username)) 
    8484     
    8585if __name__ == "__main__" :     
  • pykota/trunk/NEWS

    r2365 r2366  
    2424    - 1.23alpha18 : 
    2525      
     26        - Now autopykota doesn't create unneeded print quota entries anymore. 
     27         
    2628        - Increased the timeout in the PJL hardware accounting code to 
    2729          accomodate some printers (HP5000 at least).