Show
Ignore:
Timestamp:
07/14/03 19:20:15 (21 years ago)
Author:
jalet
Message:

Bug in postgresql storage when modifying the prices for a printer

Files:
1 modified

Legend:

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

    r1084 r1085  
    2121# 
    2222# $Log$ 
     23# Revision 1.9  2003/07/14 17:20:15  jalet 
     24# Bug in postgresql storage when modifying the prices for a printer 
     25# 
    2326# Revision 1.8  2003/07/14 14:18:17  jalet 
    2427# Wrong documentation strings 
     
    360363    def writePrinterPrices(self, printer) :     
    361364        """Write the printer's prices back into the storage.""" 
    362         self.doModify("UPDATE printers SET priceperpage=%s, priceperjob=%s WHERE printerid=%s" % (self.doQuote(printer.PricePerPage), self.doQuote(printer.PricePerJob), self.doQuote(printer.ident))) 
     365        self.doModify("UPDATE printers SET priceperpage=%s, priceperjob=%s WHERE id=%s" % (self.doQuote(printer.PricePerPage), self.doQuote(printer.PricePerJob), self.doQuote(printer.ident))) 
    363366         
    364367    def writeUserLimitBy(self, user, limitby) :