Browse Source

[FIX] flake8

pull/29/head
Holger Brunn 10 years ago
parent
commit
22cc578a4d
  1. 3
      advanced_filters/model/ir_filters.py

3
advanced_filters/model/ir_filters.py

@ -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

Loading…
Cancel
Save