Преглед изворни кода

Remove Collection.has

It's the same as BaseCollection.has
Unrud пре 9 година
родитељ
комит
5ccfe16372
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      radicale/storage.py

+ 0 - 3
radicale/storage.py

@@ -633,9 +633,6 @@ class Collection(BaseCollection):
             time.gmtime(os.path.getmtime(path)))
         return Item(self, vobject.readOne(text), href, last_modified)
 
-    def has(self, href):
-        return self.get(href) is not None
-
     def upload(self, href, vobject_item):
         if not is_safe_filesystem_path_component(href):
             raise UnsafePathError(href)