← Back to team overview

credativ team mailing list archive

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

 

** Branch linked: lp:~therp-nl/openupgrade-
addons/7.0-lp1206105-mail_post_script_query_parameters

-- 
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:
  Fix Committed

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


References