summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByron Ruth <bruth@codeomics.com>2011-09-16 22:28:32 -0400
committerStefan Kögl <stefan@skoegl.net>2011-09-17 10:43:14 +0200
commit0a53ac21550c32524e4e2f411ba87d6b8d632ed8 (patch)
tree1517e35caea595f6212b6410f86732fa1a2ec122
parent34886739b16e5fa7f3469f93cffd7b2dc40d27bb (diff)
downloadpython-json-patch-0a53ac21550c32524e4e2f411ba87d6b8d632ed8.tar.gz
Remove unused `location' variable
-rw-r--r--jsonpatch.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index 7ada8e3..c6460b7 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -219,7 +219,6 @@ class ReplaceOperation(PatchOperation):
"""
def apply(self, obj):
- location = self. operation["replace"]
value = self.operation["value"]
subobj, part = self.locate(obj, self.location)