]> git.ipfire.org Git - people/jschlag/pbs.git/blobdiff - src/scripts/pakfire-build-service
jobs: Drop type field and replace it by test field
[people/jschlag/pbs.git] / src / scripts / pakfire-build-service
index c757a74eb6ad3a5e0d0f1fff7a02dbb1260d165c..1f2a086cbef8fd56af8db59ddb2acb135f23f315 100644 (file)
@@ -92,7 +92,8 @@ class Cli(object):
                # Iterate through all of it
                for build in repo:
                        for job in build:
-                               if not job.type == "build":
+                               # Skip all test jobs
+                               if job.test:
                                        continue
 
                                if not job.arch in (arch, "noarch"):