Browse Source

[FIX] flake8 errors

pull/83/head
Damien Crier 9 years ago
committed by Sebastien LANGE
parent
commit
e9c270a37c
  1. 5
      base_phone/wizard/reformat_all_phonenumbers.py

5
base_phone/wizard/reformat_all_phonenumbers.py

@ -78,9 +78,8 @@ class reformat_all_phonenumbers(models.TransientModel):
obj._description, name, unicode(e))) obj._description, name, unicode(e)))
continue continue
if any( if any(
[init_entry.get(field)
!= entry.get(field) for field
in fields]):
[init_entry.get(field) != entry.get(field) for
field in fields]):
entry.pop('id') entry.pop('id')
logger.info( logger.info(
'[%s] Reformating phone number: FROM %s TO %s' % ( '[%s] Reformating phone number: FROM %s TO %s' % (

Loading…
Cancel
Save