From 96b8f67f11f629aa033adecb3c07e2ce24965997 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Fri, 20 May 2011 19:46:11 +0000 Subject: [PATCH] Also check for codename when looking for Provides Signed-off-by: Luca Falavigna --- dak/examine_package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.39.5