Convert caterror() to call warn() instead of err() since
authorZac Medico <zmedico@gentoo.org>
Sun, 2 Dec 2007 21:12:33 +0000 (21:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 2 Dec 2007 21:12:33 +0000 (21:12 -0000)
we don't want to exit here.

svn path=/main/trunk/; revision=8808

bin/repoman

index 540666e9b502328855a173b9c816b08d5e3a2093..f6ab04dc9a19772b9080be5371ec86afa4e233ab 100755 (executable)
@@ -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)}"""