← Back to team overview

credativ team mailing list archive

[Bug 1206105] [NEW] [7.0] mail, SQL query parameters should be a tuple, list or dict

 

Public bug reported:

i get this error:
OpenUpgrade: mail: error in migration script mail/migrations/7.0.1.0/post-migration.py: SQL query parameters should be a tuple, list or dict;

i think row 52 should be:
            cr.execute("UPDATE mail_message SET body = '%s' WHERE id = %s" % (body, row[0]))

** Affects: openupgrade-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Addons.
https://bugs.launchpad.net/bugs/1206105

Title:
  [7.0] mail,  SQL query parameters should be a tuple, list or dict

Status in OpenUpgrade Addons:
  New

Bug description:
  i get this error:
  OpenUpgrade: mail: error in migration script mail/migrations/7.0.1.0/post-migration.py: SQL query parameters should be a tuple, list or dict;

  i think row 52 should be:
              cr.execute("UPDATE mail_message SET body = '%s' WHERE id = %s" % (body, row[0]))

To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-addons/+bug/1206105/+subscriptions


Follow ups

References