[dak/master] daklib/contents.py: use filter() instead of filter_by()
---
daklib/contents.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/contents.py b/daklib/contents.py
index aedeb83..0773407 100644
--- a/daklib/contents.py
+++ b/daklib/contents.py
@@ -301,7 +301,7 @@ class ContentsWriter(object):
if len(component_names) > 0:
component_query = component_query.filter(Component.component_name.in_(component_names))
if not force:
- suite_query = suite_query.filter_by(untouchable = False)
+ suite_query = suite_query.filter(Suite.untouchable == False)
deb_id = get_override_type('deb', session).overridetype_id
udeb_id = get_override_type('udeb', session).overridetype_id
pool = Pool()
--
1.7.2.5
Reply to: