From: Zac Medico Date: Tue, 25 Jun 2013 19:24:40 +0000 (-0700) Subject: repoman: simplify repo location comparison X-Git-Tag: v2.2.0_alpha186~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fae27fe900e0c93d9ffff2b17f8fa309c0099439;p=portage.git repoman: simplify repo location comparison --- diff --git a/bin/repoman b/bin/repoman index 60286dbc8..faf023248 100755 --- a/bin/repoman +++ b/bin/repoman @@ -615,7 +615,7 @@ commit_env = os.environ.copy() # list() is for iteration on a copy. for repo in list(repoman_settings.repositories): # all paths are canonical - if repo.location not in [repodir] + [x.location for x in repo_config.masters]: + if repo.location not in repo_config.eclass_db.porttrees: del repoman_settings.repositories[repo.name] if repo_config.allow_provide_virtual: