Browse Source

fix pep8 E731

(do not assign a lambda, use a def)
pull/90/head
Alexandre Fayolle 10 years ago
parent
commit
6bac6d1259
  1. 3
      base_partner_merge/base_partner_merge.py

3
base_partner_merge/base_partner_merge.py

@ -388,7 +388,8 @@ class MergePartnerAutomatic(orm.TransientModel):
" merge several contacts linked to existing Journal " " merge several contacts linked to existing Journal "
"Items.")) "Items."))
call_it = lambda function: function(cr, uid, src_partners,
def call_it(function):
function(cr, uid, src_partners,
dst_partner, context=context) dst_partner, context=context)
call_it(self._update_foreign_keys) call_it(self._update_foreign_keys)

Loading…
Cancel
Save