summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 0cc02d097..9c8cd6263 100644
--- 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" % (