From de8dfe858f367497f2b0c6fd42590c7b432160aa Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 28 Sep 2011 16:39:15 +0200 Subject: [PATCH] bah --- debian_build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debian_build.py b/debian_build.py index f872856..f0e24df 100755 --- a/debian_build.py +++ b/debian_build.py @@ -369,9 +369,7 @@ if __name__ == '__main__': distribution = distribution.strip() logger.info('Package distribution is %s' % (distribution)) - if (options.distribution in ('testing', 'staging') and not distribution in ('testing', 'staging')) \ - or (options.distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates') and not distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates')) \ - or (options.distribution in ('unstable', 'pre-staging') and not distribution in ('unstable', 'pre-staging', 'UNRELEASED')): + if (options.distribution in ('testing', 'staging') and not distribution in ('testing', 'staging')) or (options.distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates') and not distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates')) or (options.distribution in ('unstable', 'pre-staging') and not distribution in ('unstable', 'pre-staging', 'UNRELEASED')): logger_loud_error('Distribution %s in debian/changelog did not match branch %s' % (distribution, options.distribution)) raise Exception( 'Distribution %s in debian/changelog did not match branch %s' % (distribution, options.distribution) -- 2.39.5