Changeset 1085

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

Location:
pykota/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r1082 r1085  
    2222PyKota NEWS : 
    2323 
     24    - 1.14alpha5 : 
     25         
     26        - Big bug fixed when changing the prices for a printer 
     27         
    2428    - 1.14alpha4 : 
    2529     
  • 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) :     
  • pykota/trunk/pykota/version.py

    r1082 r1085  
    2121# 
    2222 
    23 __version__ = "1.14alpha4_unofficial" 
     23__version__ = "1.14alpha5_unofficial" 
    2424 
    2525__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""