From 279f5e3c9d015730f551ab4966bcdbb4421a4fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Mon, 17 Dec 2012 17:46:13 +0100 Subject: remove duplicate raise statement --- jsonpatch.py | 1 - 1 file changed, 1 deletion(-) 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: -- cgit v1.2.1