From 340e4b1d726cf4df4e82483bd451a38c245ca9af Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Mon, 28 Jul 2008 16:02:22 +0200 Subject: [PATCH] refactoring bzr revid: stephane@tinyerp.com-20080728140222-9qj0d823pottrnxf --- bin/osv/orm.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 39690f4..c613801 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -2187,12 +2187,7 @@ class orm(orm_template): # if the object has a field named 'active', filter out all inactive # records unless they were explicitely asked for if 'active' in self._columns and (active_test and context.get('active_test', True)): - i = 0 - active_found = False - while i