From 09d647c7e3d135df0c8163ffd6a189be2006268b Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Tue, 31 May 2005 12:37:16 +0000 Subject: [PATCH] bad indention git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3126 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BankAccount.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/product/ERP5/Document/BankAccount.py b/product/ERP5/Document/BankAccount.py index d1d3764967..6a7db6b6bf 100755 --- a/product/ERP5/Document/BankAccount.py +++ b/product/ERP5/Document/BankAccount.py @@ -114,7 +114,7 @@ class BankAccount(Folder, Coordinate): n += table[c.upper()] if c.isdigit(): n += c - key = str(98 - (int(n) % 97)) + key = str(98 - (int(n) % 97)) return key.zfill(2) @@ -174,7 +174,6 @@ class BankAccount(Folder, Coordinate): bank += ('0' * (5 - len(bank))) branch += ('0' * (5 - len(branch))) - s = (bank + branch + ban).upper() - key = str(97 - ((transcode(s) * 100) % 97)) - return key.zfill(2) - + s = (bank + branch + ban).upper() + key = str(97 - ((transcode(s) * 100) % 97)) + return key.zfill(2) -- 2.30.9