From: Zac Medico Date: Sun, 2 Dec 2007 21:12:33 +0000 (-0000) Subject: Convert caterror() to call warn() instead of err() since X-Git-Tag: v2.2_pre1~243 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3fd6a382a9ba245dcb0ee837ec66f4dc4712af7a;p=portage.git Convert caterror() to call warn() instead of err() since we don't want to exit here. svn path=/main/trunk/; revision=8808 --- 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)}"""