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

Don't create unneeded print quota entries anymore.

Files:
1 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__" :