From b5aa97970042894955a51a3a51a02587c79b940b Mon Sep 17 00:00:00 2001 From: Max Lin Date: Thu, 22 Feb 2018 14:28:35 +0800 Subject: [PATCH] Do not complain 000* package has defined in the two different ring --- osclib/stagingapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osclib/stagingapi.py b/osclib/stagingapi.py index 5ac7a3a4..5f5c97e3 100644 --- a/osclib/stagingapi.py +++ b/osclib/stagingapi.py @@ -200,7 +200,7 @@ class StagingAPI(object): # XXX TODO - Test-DVD-x86_64 is hardcoded here if pkg in ret and not pkg.startswith('Test-DVD-'): msg = '{} is defined in two projects ({} and {})' - if checklinks and pkg in except_pkgs and prj == except_pkgs[pkg]: + if pkg.startswith('000') or (checklinks and pkg in except_pkgs and prj == except_pkgs[pkg]): msg = '' if len(msg): raise Exception(msg.format(pkg, ret[pkg], prj))