]> err.no Git - dak/commitdiff
Also check for codename when looking for Provides
authorLuca Falavigna <dktrkranz@debian.org>
Fri, 20 May 2011 19:46:11 +0000 (19:46 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Fri, 20 May 2011 20:03:34 +0000 (20:03 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/examine_package.py

index 56408f0ac2ed018775dcd3b841d9434fccaa42ed..65e81b5def1dce9f039b42c633ed0b16424c0855 100755 (executable)
@@ -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: