diff options
| author | Harry (Open ERP) <hmo@tinyerp.com> | 2009-11-24 20:14:05 +0530 |
|---|---|---|
| committer | Harry (Open ERP) <hmo@tinyerp.com> | 2009-11-24 20:14:05 +0530 |
| commit | d8ce3f1e2a5a55f0c28eb1cf8cb4cfcd2d6d5dab (patch) | |
| tree | f1dbd61528db0d90cebb5f2b5e4e836f00f71aef /bin/osv/fields.py | |
| parent | dda5ed6bb1710e4690c1e01fe4265cc7db147068 (diff) | |
[FIX] replaced <TAB> with four white space.
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
Diffstat (limited to 'bin/osv/fields.py')
| -rw-r--r-- | bin/osv/fields.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/osv/fields.py b/bin/osv/fields.py index ef27c222ea4..dde80f0ffb9 100644 --- a/bin/osv/fields.py +++ b/bin/osv/fields.py @@ -585,14 +585,14 @@ class many2many(_column): def get_nice_size(a): - (x,y) = a - if isinstance(y, (int,long)): - size = y - elif y: - y = len(y) - else: - y = 0 - return (x, tools.human_size(size)) + (x,y) = a + if isinstance(y, (int,long)): + size = y + elif y: + y = len(y) + else: + y = 0 + return (x, tools.human_size(size)) # --------------------------------------------------------- # Function fields |
