]> git.decadent.org.uk Git - dak.git/commitdiff
Also only run on unstable uploads
authorJoerg Jaspert <joerg@debian.org>
Fri, 21 Mar 2008 16:06:25 +0000 (17:06 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 21 Mar 2008 16:06:25 +0000 (17:06 +0100)
config/debian/extensions.py

index 31728d2a1a834eb55785dd703403dbc3b0ed9465..51c9f82a3f9a4ef4076b4f432f87c39bef846139 100644 (file)
@@ -15,7 +15,9 @@ def check_transition():
     sourcepkg = changes["source"]
 
     # No sourceful upload -> no need to do anything else, direct return
-    if "source" not in changes["architecture"]:
+    # We also work with unstable uploads, not experimental or those going to some
+    # proposed-updates queue
+    if "source" not in changes["architecture"] or "unstable" not in changes["distribution"]:
         return
 
     # Also only check if there is a file defined (and existant) with