From 74c42205ba675d0ab3481a5570ece6a051086e32 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 18:34:59 +0200 Subject: [PATCH] daklib/contents.py: use filter() instead of filter_by() --- daklib/contents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/contents.py b/daklib/contents.py index aedeb83d..07734075 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() -- 2.39.5