Show
Ignore:
Timestamp:
07/16/03 23:53:08 (21 years ago)
Author:
jalet
Message:

Really big modifications wrt new configuration file's location and content.

Files:
1 modified

Legend:

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

    r1085 r1087  
    2121# 
    2222# $Log$ 
     23# Revision 1.10  2003/07/16 21:53:08  jalet 
     24# Really big modifications wrt new configuration file's location and content. 
     25# 
    2326# Revision 1.9  2003/07/14 17:20:15  jalet 
    2427# Bug in postgresql storage when modifying the prices for a printer 
     
    333336    def addUser(self, user) :         
    334337        """Adds a user to the quota storage, returns its id.""" 
    335         self.doModify("INSERT INTO users (username, limitby, balance, lifetimepaid) VALUES (%s, %s, %s, %s)" % (self.doQuote(user.Name), self.doQuote(user.LimitBy), self.doQuote(user.AccountBalance), self.doQuote(user.LifeTimePaid))) 
     338        self.doModify("INSERT INTO users (username, limitby, balance, lifetimepaid, email) VALUES (%s, %s, %s, %s, %s)" % (self.doQuote(user.Name), self.doQuote(user.LimitBy), self.doQuote(user.AccountBalance), self.doQuote(user.LifeTimePaid), self.doQuote(user.Email))) 
    336339        return self.getUser(user.Name) 
    337340