It is not cool and/or helpfull to see an HTML dump of some
authorZac Medico <zmedico@gentoo.org>
Thu, 8 Nov 2007 21:57:12 +0000 (21:57 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 Nov 2007 21:57:12 +0000 (21:57 -0000)
page in case it is not what is expected (like a 404).
(branches/prefix r8460)

svn path=/main/trunk/; revision=8462

pym/portage/getbinpkg.py

index 290bf76c59b78d4b43b55e52a69e1fbc77576e9a..f5390b9ddcd6214c69cc110cac45a2b1f43b0d6a 100644 (file)
@@ -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: