From: Zac Medico Date: Sat, 14 Jul 2007 23:45:19 +0000 (-0000) Subject: Remove unused repo_name code. X-Git-Tag: v2.2_pre1~1026 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee01ca9aba4a5d11dd8f90b13ac9d824530ffaad;p=portage.git Remove unused repo_name code. svn path=/main/trunk/; revision=7260 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index f9e1f0f18..96e370fc1 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -2797,12 +2797,6 @@ class depgraph(object): raise portage.exception.PackageNotFound(pkg_key) repo_path_real = os.path.dirname(os.path.dirname( os.path.dirname(ebuild_path))) - for repo_name in portdb.getRepositories(): - if portdb.getRepositoryPath(repo_name) == repo_path_real: - repo_name = repo_name - break - else: - repo_name = None else: repo_path_real = portdb.getRepositoryPath(repo_name) if pkg_key not in self.useFlags[myroot]: