diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 0f532685cf7..f02b886e90c 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -1344,12 +1344,13 @@ class orm(object): # records unless they were explicitely asked for if 'active' in self._columns: i = 0 + active_found = False while i