Browse Source

Fix pep8 (line length)

pull/545/merge
Sandy Carter 11 years ago
committed by Yannick Vaucher
parent
commit
e387c555a2
  1. 2
      base_partner_merge/__init__.py
  2. 14
      base_partner_merge/base_partner_merge.py

2
base_partner_merge/__init__.py

@ -1 +1 @@
import base_partner_merge
from . import base_partner_merge

14
base_partner_merge/base_partner_merge.py

@ -539,11 +539,15 @@ class MergePartnerAutomatic(orm.TransientModel):
).browse(cr, uid,
list(partner_ids),
context=context)
ordered_partners = sorted(sorted(partners,
key=operator.attrgetter('create_date'),
reverse=True),
key=operator.attrgetter('active'),
reverse=True)
ordered_partners = sorted(
sorted(
partners,
key=operator.attrgetter('create_date'),
reverse=True
),
key=operator.attrgetter('active'),
reverse=True
)
return ordered_partners
def _next_screen(self, cr, uid, this, context=None):

Loading…
Cancel
Save