Просмотр исходного кода

Remove EtagMismatchError

Etags are not checked in storage anymore and this is unused.
Unrud 9 лет назад
Родитель
Сommit
77e9ca1252
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      radicale/storage.py

+ 0 - 6
radicale/storage.py

@@ -193,12 +193,6 @@ class ComponentNotFoundError(ValueError):
         super().__init__(message)
         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:
 class Item:
     def __init__(self, collection, item, href, last_modified=None):
     def __init__(self, collection, item, href, last_modified=None):
         self.collection = collection
         self.collection = collection