From: Zac Medico Date: Sat, 21 Jul 2007 04:57:36 +0000 (-0000) Subject: Just show [0] instead of [0=>0] in the repo display. (trunk r7332) X-Git-Tag: v2.1.3~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86554141300e0c52842e2d773cb5ebbe31a0f819;p=portage.git Just show [0] instead of [0=>0] in the repo display. (trunk r7332) svn path=/main/branches/2.1.2/; revision=7333 --- 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)