summaryrefslogtreecommitdiff
path: root/jsonpatch.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonpatch.py')
-rw-r--r--jsonpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index 1c93ac3..ef1734d 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -198,7 +198,7 @@ class JsonPatch(object):
def __hash__(self):
- return hash(frozenset(self.operations))
+ return hash(tuple(self._get_operation(op) for op in self.patch))
def __eq__(self, other):