From: Fabian Groffen Date: Thu, 8 Nov 2007 21:48:17 +0000 (-0000) Subject: It is not cool and/or helpfull to see an HTML dump of some page in case it is not... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7f1bd298d20dfd1657fcb4b9ade13d121e1509c1;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). svn path=/main/branches/prefix/; revision=8460 --- diff --git a/pym/portage/getbinpkg.py b/pym/portage/getbinpkg.py index e3150d774..64f9ade51 100644 --- a/pym/portage/getbinpkg.py +++ b/pym/portage/getbinpkg.py @@ -237,9 +237,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: