diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-02 21:12:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-02 21:12:33 +0000 |
commit | 3fd6a382a9ba245dcb0ee837ec66f4dc4712af7a (patch) | |
tree | 755b8d31cd5bd2e6600e12cbff3b1f4f7b26e49d | |
parent | 088be8d8845c14d5877aa56abbdfc61d55b778d9 (diff) | |
download | portage-3fd6a382a9ba245dcb0ee837ec66f4dc4712af7a.tar.gz portage-3fd6a382a9ba245dcb0ee837ec66f4dc4712af7a.tar.bz2 portage-3fd6a382a9ba245dcb0ee837ec66f4dc4712af7a.zip |
Convert caterror() to call warn() instead of err() since
we don't want to exit here.
svn path=/main/trunk/; revision=8808
-rwxr-xr-x | bin/repoman | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman index 540666e9b..f6ab04dc9 100755 --- a/bin/repoman +++ b/bin/repoman @@ -533,7 +533,10 @@ for x in range(0,repolevel-1): repodir = os.path.dirname(repodir) def caterror(mycat): - err(mycat+" is not an official category. Skipping QA checks in this directory.\nPlease ensure that you add "+catdir+" to "+repodir+"/profiles/categories\nif it is a new category.") + warn(mycat + " is not an official category. " + \ + "Skipping QA checks in this directory.\n" + \ + "Please ensure that you add " + catdir + \ + " to " + repodir + "/profiles/categories\nif it is a new category.") def parse_use_local_desc(mylines, usedict=None): """returns a dict of the form {cpv:set(flags)}""" |