summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-08 21:57:12 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-08 21:57:12 +0000
commitcea59a22154b066db1f248b586c007ba2922b561 (patch)
treea4739a236ae96e297c89c29af7f301c10a6cda08
parent25bd9fa173fe07a709df4fd7eba1d5d49834a747 (diff)
downloadportage-cea59a22154b066db1f248b586c007ba2922b561.tar.gz
portage-cea59a22154b066db1f248b586c007ba2922b561.tar.bz2
portage-cea59a22154b066db1f248b586c007ba2922b561.zip
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). (branches/prefix r8460) svn path=/main/trunk/; revision=8462
-rw-r--r--pym/portage/getbinpkg.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pym/portage/getbinpkg.py b/pym/portage/getbinpkg.py
index 290bf76c5..f5390b9dd 100644
--- a/pym/portage/getbinpkg.py
+++ b/pym/portage/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: