From 8846afc527c74893cb6d2d56a6f4e59d72c21181 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 31 Jan 2008 04:06:07 +0000 Subject: Bug #205966 - Don't show binhost password when displaying the uri. Thanks to Mike "Fuzzy" Partin . svn path=/main/branches/2.1.2/; revision=9237 --- pym/portage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 1ef6602a7..27647514a 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7803,7 +7803,10 @@ class binarytree(object): chunk_size = 3000 writemsg_stdout("\n") - writemsg_stdout(green("Fetching bininfo from ")+base_url+"\n") + writemsg_stdout( + green("Fetching bininfo from ") + \ + re.sub(r'//(.+):.+@(.+)/', r'//\1:*password*@\2/', base_url) + "\n") + self.remotepkgs = getbinpkg.dir_get_metadata( self.settings["PORTAGE_BINHOST"], chunk_size=chunk_size) #writemsg_stdout(green(" -- DONE!\n\n")) -- cgit v1.2.3-1-g7c22