From: Zac Medico Date: Fri, 27 Jul 2007 22:35:15 +0000 (-0000) Subject: For bug #186480, while we transition to repository lables, avoid ? spam in the reposi... X-Git-Tag: v2.1.3~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e1b4b26214101aa4272d3d3f488fff1d5497b44;p=portage.git For bug #186480, while we transition to repository lables, avoid ? spam in the repository display by ignoring a missing repository label for an installed package. svn path=/main/branches/2.1.2/; revision=7409 --- diff --git a/bin/emerge b/bin/emerge index 5c5f3aa25..fa8862181 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3017,7 +3017,11 @@ class depgraph: 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" % (