Changeset 1085 for pykota/trunk/pykota/storages/pgstorage.py
- Timestamp:
- 07/14/03 19:20:15 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/pgstorage.py
r1084 r1085 21 21 # 22 22 # $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 # 23 26 # Revision 1.8 2003/07/14 14:18:17 jalet 24 27 # Wrong documentation strings … … 360 363 def writePrinterPrices(self, printer) : 361 364 """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))) 363 366 364 367 def writeUserLimitBy(self, user, limitby) :