[FIX] flake8

This commit is contained in:
Holger Brunn
2014-07-28 10:36:26 +02:00
parent 37125e826b
commit 22cc578a4d

View File

@@ -111,7 +111,8 @@ class IrFilters(Model):
'union_filter_ids': [(6, 0, [])], 'union_filter_ids': [(6, 0, [])],
'complement_filter_ids': [(6, 0, [])], 'complement_filter_ids': [(6, 0, [])],
}) })
#if we removed inactive filters which are orphaned now, delete them # if we removed inactive filters which are orphaned now, delete
# them
cr.execute('''delete from ir_filters cr.execute('''delete from ir_filters
where where
not active and id in %s not active and id in %s