Parcourir la source

Remove EtagMismatchError

Etags are not checked in storage anymore and this is unused.
Unrud il y a 9 ans
Parent
commit
77e9ca1252
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  1. 0 6
      radicale/storage.py

+ 0 - 6
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