From: Zac Medico Date: Tue, 20 Nov 2007 19:31:55 +0000 (-0000) Subject: It is not cool and/or helpfull to see an HTML dump of some X-Git-Tag: v2.1.4~278 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fecf93791fffd78a796f117eef6d617fc4d9947e;p=portage.git It is not cool and/or helpfull to see an HTML dump of some page in case it is not what is expected (like a 404). (trunk r8462) svn path=/main/branches/2.1.2/; revision=8545 --- diff --git a/pym/getbinpkg.py b/pym/getbinpkg.py index 71969b006..f8529d79e 100644 --- a/pym/getbinpkg.py +++ b/pym/getbinpkg.py @@ -236,9 +236,6 @@ def make_http_request(conn, address, params={}, headers={}, dest=None): break if (rc != 200) and (rc != 206): - sys.stderr.write(str(response.msg)+"\n") - sys.stderr.write(response.read()+"\n") - sys.stderr.write("address: "+address+"\n") return None,rc,"Server did not respond successfully ("+str(response.status)+": "+str(response.reason)+")" if dest: