From 86554141300e0c52842e2d773cb5ebbe31a0f819 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 21 Jul 2007 04:57:36 +0000 Subject: [PATCH] Just show [0] instead of [0=>0] in the repo display. (trunk r7332) svn path=/main/branches/2.1.2/; revision=7333 --- bin/emerge | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/emerge b/bin/emerge index 45f7c664e..5b8df3808 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3007,9 +3007,12 @@ class depgraph: if repo_name_prev: repo_path_prev = portdb.getRepositoryPath( repo_name_prev) - repoadd = "%s=>%s" % ( - repo_display.repoStr(repo_path_prev), - repo_display.repoStr(repo_path_real)) + if repo_path_prev == repo_path_real: + repoadd = repo_display.repoStr(repo_path_real) + else: + repoadd = "%s=>%s" % ( + repo_display.repoStr(repo_path_prev), + repo_display.repoStr(repo_path_real)) if repoadd: verboseadd += teal("[%s]" % repoadd) -- 2.26.2