diff options
author | Stefan Kögl <stefan@skoegl.net> | 2012-12-17 17:46:13 +0100 |
---|---|---|
committer | Stefan Kögl <stefan@skoegl.net> | 2012-12-17 17:48:07 +0100 |
commit | 279f5e3c9d015730f551ab4966bcdbb4421a4fdd (patch) | |
tree | 440ac357a075dbbfb702e22cbeeaa30b5ec481b0 | |
parent | 097c7954f010499663c4c7de0ab45309aa086805 (diff) | |
download | python-json-patch-279f5e3c9d015730f551ab4966bcdbb4421a4fdd.tar.gz |
remove duplicate raise statement
-rw-r--r-- | jsonpatch.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py index 3e3883d..c9e9d0b 100644 --- a/jsonpatch.py +++ b/jsonpatch.py @@ -307,7 +307,6 @@ class JsonPatch(object): def _get_operation(self, operation): if 'op' not in operation: raise JsonPatchException("Operation does not contain 'op' member") - raise Exception op = operation['op'] if op not in self.operations: |