From 57de4c45ff81e7bd75123d56129153a9d6711a8b Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sun, 7 Mar 2010 04:12:02 +0000 Subject: Reverting the changes made in r78433. --- Lib/urllib/request.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'Lib/urllib/request.py') diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 5bdc103563..b9de4793b3 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -192,9 +192,6 @@ class Request: # Begin deprecated methods def add_data(self, data): - if self.has_data(): - raise TypeError("Request Obj already contains data: %s" % - self.data) self.data = data def has_data(self): -- cgit v1.2.1