From: Luca Falavigna Date: Fri, 20 May 2011 19:46:11 +0000 (+0000) Subject: Also check for codename when looking for Provides X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=96b8f67f11f629aa033adecb3c07e2ce24965997;p=dak.git Also check for codename when looking for Provides Signed-off-by: Luca Falavigna --- diff --git a/dak/examine_package.py b/dak/examine_package.py index 56408f0a..65e81b5d 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -338,7 +338,8 @@ def get_provides(suite): AND b.suite = ( SELECT id FROM suite - WHERE suite_name = '%(suite)s')''' % \ + WHERE suite_name = '%(suite)s' + OR codename = '%(suite)s')''' % \ {'suite': suite} for p in session.execute(query): for e in p: