Remove unused repo_name code.
authorZac Medico <zmedico@gentoo.org>
Sat, 14 Jul 2007 23:45:19 +0000 (23:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 14 Jul 2007 23:45:19 +0000 (23:45 -0000)
svn path=/main/trunk/; revision=7260

pym/emerge/__init__.py

index f9e1f0f18b437670765438b3bbdeb7f08210e5c1..96e370fc127db15aa3e78d2bac07f4c5fff1069c 100644 (file)
@@ -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]: