~serpent-consulting-services/addons-vauxoo/7.0-fix-aging-due-mx-dependency

« back to all changes in this revision

Viewing changes to account_bank_statement_vauxoo/model/account_journal.py

  • Committer: Moises Lopez
  • Date: 2014-10-03 08:04:16 UTC
  • mfrom: (1144.1.3 70-addons-vauxoo)
  • Revision ID: moylop260@vauxoo.com-20141003080416-yquvsxfq5i4cy8ux
[MERGE] [FIX] trailing whitespace pylint error C0303 and
[FIX] autopep8 ignoring E501 & E128 and
[FIX] reimported

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        try:
91
91
            exp_ = self.browse(cr, user, ids, context=context)[0].expresion
92
92
            exp = eval(exp_)
93
 
            self.logger.notifyChannel('Chain. '+str(exp), netsvc.LOG_DEBUG,
 
93
            self.logger.notifyChannel('Chain. ' + str(exp), netsvc.LOG_DEBUG,
94
94
                                      'Succefully Validated')
95
95
            if type(exp) is list:
96
96
                return True
97
97
            else:
98
98
                self.logger.notifyChannel(
99
 
                    'Chain. '+str(exp_), netsvc.LOG_ERROR,
 
99
                    'Chain. ' + str(exp_), netsvc.LOG_ERROR,
100
100
                    'Fail With You must use a list')
101
101
                return False
102
102
        except Exception, var:
103
 
            self.logger.notifyChannel('Chain. '+str(exp_), netsvc.LOG_ERROR,
 
103
            self.logger.notifyChannel('Chain. ' + str(exp_), netsvc.LOG_ERROR,
104
104
                                      'Fail With %s' % var)
105
105
            return False
106
106