projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a0748
)
For bug #186480, while we transition to repository labels, avoid ? spam in the reposi...
author
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Jul 2007 22:36:24 +0000
(22:36 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Jul 2007 22:36:24 +0000
(22:36 -0000)
svn path=/main/trunk/; revision=7410
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index 0cc02d0972e9968c6e5ebbe0d0ee11fdcaeb913f..9c8cd6263227a887c5c2849f8c0b693f39862113 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-2963,7
+2963,11
@@
class depgraph(object):
if repo_name_prev:
repo_path_prev = portdb.getRepositoryPath(
repo_name_prev)
- if repo_path_prev == repo_path_real:
+ # To avoid spam during the transition period, don't
+ # show ? if the installed package is missing a
+ # repository label.
+ if not repo_path_prev or \
+ repo_path_prev == repo_path_real:
repoadd = repo_display.repoStr(repo_path_real)
else:
repoadd = "%s=>%s" % (