From: Zac Medico Date: Thu, 31 Jan 2008 04:06:07 +0000 (-0000) Subject: Bug #205966 - Don't show binhost password when displaying the uri. Thanks X-Git-Tag: v2.1.4.1~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8846afc527c74893cb6d2d56a6f4e59d72c21181;p=portage.git 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 --- 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"))