Changeset 723 for pykota/trunk

Show
Ignore:
Timestamp:
02/06/03 16:05:13 (22 years ago)
Author:
jalet
Message:

self was forgotten

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/sql.py

    r722 r723  
    1515# 
    1616# $Log$ 
     17# Revision 1.11  2003/02/06 15:05:13  jalet 
     18# self was forgotten 
     19# 
    1720# Revision 1.10  2003/02/06 15:03:11  jalet 
    1821# added a method to set the limit date 
     
    126129            self.doQuery("UPDATE userpquota SET softlimit=%s, hardlimit=%s, datelimit=NULL WHERE userid=%s AND printerid=%s;" % (self.doQuote(softlimit), self.doQuote(hardlimit), self.doQuote(userid), self.doQuote(printerid))) 
    127130         
    128     def setDateLimit(username, printername, datelimit) : 
     131    def setDateLimit(self, username, printername, datelimit) : 
    129132        """Sets the limit date for a soft limit to become an hard one given (username, printername).""" 
    130133        (userid, printerid) = self.getUPIds(username, printername)