~therp-nl/banking-addons/6.1_mt940_line_endings

« back to all changes in this revision

Viewing changes to account_banking/sepa/iban.py

  • Committer: Guewen Baconnier
  • Author(s): Stefan Rijnhart
  • Date: 2014-02-28 12:36:52 UTC
  • mfrom: (192.2.1 banking-addons-no_raise)
  • Revision ID: guewen.baconnier@camptocamp.com-20140228123652-qmupft0ojv14aeli
[FIX] Don't raise unnecessarily

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
        Localized format of local or Basic Bank Account Number, aka BBAN
409
409
        '''
410
410
        if self.countrycode == 'TR':
411
 
            raise NotImplementedError, (
412
 
                'The Turkish BBAN requires information that is not in the '
413
 
                'IBAN number.'
414
 
            )
 
411
            # The Turkish BBAN requires information that is not in the
 
412
            # IBAN number.
 
413
            return False
415
414
        return self.BBAN_format.BBAN(self)
416
415
 
417
416
    @property