From 77e9ca1252081fc63309099259cb7d08278cdb9c Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 4 Sep 2016 13:06:09 +0200 Subject: [PATCH] Remove EtagMismatchError Etags are not checked in storage anymore and this is unused. --- radicale/storage.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/radicale/storage.py b/radicale/storage.py index 8fb5bd2..4685ea6 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -193,12 +193,6 @@ class ComponentNotFoundError(ValueError): super().__init__(message) -class EtagMismatchError(ValueError): - def __init__(self, etag1, etag2): - message = "ETags don't match: %s != %s" % (etag1, etag2) - super().__init__(message) - - class Item: def __init__(self, collection, item, href, last_modified=None): self.collection = collection