projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f2bb9
)
Remove unused repo_name code.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 14 Jul 2007 23:45:19 +0000
(23:45 -0000)
committer
Zac 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
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index f9e1f0f18b437670765438b3bbdeb7f08210e5c1..96e370fc127db15aa3e78d2bac07f4c5fff1069c 100644
(file)
--- 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]: