From: Joerg Jaspert Date: Sun, 12 Aug 2012 16:35:09 +0000 (+0200) Subject: Merge remote-tracking branch 'ansgar/pu/multiarchive-2' X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=e4527938a6e1b0f460fcd0dfee7a05da304c7719;hp=ed9782ad5afa4dce73ce88d412e38182329a21ad Merge remote-tracking branch 'ansgar/pu/multiarchive-2' * ansgar/pu/multiarchive-2: daklib/contents.py: use filter() instead of filter_by() Signed-off-by: Joerg Jaspert --- 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()