From: Ansgar Burchardt Date: Sun, 12 Aug 2012 16:34:59 +0000 (+0200) Subject: daklib/contents.py: use filter() instead of filter_by() X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=74c42205ba675d0ab3481a5570ece6a051086e32;p=dak.git daklib/contents.py: use filter() instead of filter_by() --- 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()