From fecf93791fffd78a796f117eef6d617fc4d9947e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 20 Nov 2007 19:31:55 +0000 Subject: [PATCH] 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 --- pym/getbinpkg.py | 3 --- 1 file changed, 3 deletions(-) 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: -- 2.26.2