From acced3a66c63921b8e3ad2db11605ae2bc3890e4 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Thu, 24 Aug 2017 21:45:11 -0500 Subject: [PATCH] osclib/conf: set staging-dvd-archs to empty for SUSE:* projects. Currently none of the SUSE:* projects have :DVD subprojects and there is no way to know short of checking if the project exists. This allows for len(staging-dvd-archs) to be used to know. --- osclib/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osclib/conf.py b/osclib/conf.py index 607182af..7b02b04d 100644 --- a/osclib/conf.py +++ b/osclib/conf.py @@ -63,7 +63,7 @@ DEFAULT = { 'staging': 'SUSE:%(project)s:Staging', 'staging-group': 'sle-staging-managers', # '%(project.lower)s-staging', 'staging-archs': 'i586 x86_64', - 'staging-dvd-archs': 'x86_64', + 'staging-dvd-archs': '', 'nocleanup-packages': 'Test-DVD-x86_64 sles-release', 'rings': 'SUSE:%(project)s:Rings', 'nonfree': None, @@ -78,7 +78,7 @@ DEFAULT = { 'staging': 'SUSE:%(project)s:Staging', 'staging-group': 'sle-staging-managers', # '%(project.lower)s-staging', 'staging-archs': 'i586 x86_64', - 'staging-dvd-archs': 'x86_64', + 'staging-dvd-archs': '', 'nocleanup-packages': 'Test-DVD-x86_64 sles-release', 'rings': None, 'nonfree': None,