From: Max Shytikov Date: Tue, 29 Apr 2014 21:25:14 +0000 (+0200) Subject: Deleted unnecessary __hash__ method of Request X-Git-Tag: v1.0.0~36^2~21 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7e677f516d023a21e2f2bf6db34a9ca536370591;p=vcrpy.git Deleted unnecessary __hash__ method of Request --- diff --git a/vcr/request.py b/vcr/request.py index a840572..5415743 100644 --- a/vcr/request.py +++ b/vcr/request.py @@ -46,20 +46,6 @@ class Request(object): def protocol(self): return self.scheme - def __key(self): - return ( - self.method, - self.uri, - self.body, - self.headers - ) - - def __hash__(self): - return hash(self.__key()) - - def __eq__(self, other): - return hash(self) == hash(other) - def __str__(self): return "".format(self.method, self.uri)