Bug #211294 - Make repoman ignore profiles labeled with anything other
authorZac Medico <zmedico@gentoo.org>
Wed, 27 Feb 2008 16:00:54 +0000 (16:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 27 Feb 2008 16:00:54 +0000 (16:00 -0000)
than "stable" or "dev" in profiles.desc so that we can extend it with
new labels such as "exp".

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

bin/repoman

index e86fc5e17c8c021e9b852c4bf64b31f51f93a913..87c57f43ea475f4c4b3ff5a46885ce9bf5470cd5 100755 (executable)
@@ -1308,6 +1308,9 @@ for x in scanlist:
                                
                        for prof in profiles[arch]:
 
+                               if prof[1] not in ("stable", "dev"):
+                                       continue
+
                                profdir = portdir+"/profiles/"+prof[0]
        
                                if prof[0] in arch_caches: