From 3fd6a382a9ba245dcb0ee837ec66f4dc4712af7a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Dec 2007 21:12:33 +0000 Subject: Convert caterror() to call warn() instead of err() since we don't want to exit here. svn path=/main/trunk/; revision=8808 --- bin/repoman | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') 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)}""" -- cgit v1.2.3-1-g7c22