← 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

 

Thanks, I think you are right! I submitted the fix that you proposed for
review.


** Changed in: openupgrade-addons
       Status: New => Fix Committed

** Changed in: openupgrade-addons
   Importance: Undecided => Medium

** Changed in: openupgrade-addons
     Assignee: (unassigned) => Stefan Rijnhart (Therp) (stefan-therp)

-- 
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