Changeset 4560

Show
Ignore:
Timestamp:
10/23/08 04:41:34 (3 months ago)
Author:
coling
Message:

Fix SQL that I somehow missed after recent API changes. Thanks to BKV for highlighting it. Closes #3948

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • clientsplugin/0.11/clients/model.py

    r4495 r4560  
    7474        cursor = db.cursor() 
    7575        self.env.log.debug("Creating new client '%s'" % self.name) 
    76         cursor.execute("INSERT INTO client (name,description," 
     76        cursor.execute("INSERT INTO client (name, description," 
    7777                       " default_rate, currency) " 
    78                        "VALUES (%s,%s, %s,%s,%s, %s,%s,%s, %s,%s)", 
     78                       "VALUES (%s,%s, %s,%s)", 
    7979                       (self.name, self.description, 
    8080                        self.default_rate, self.currency))