Bastien Sevajol (Algoo) 8 년 전
부모
커밋
24ac8d42d6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      tracim/tracim/lib/webdav/sql_resources.py

+ 2 - 1
tracim/tracim/lib/webdav/sql_resources.py 파일 보기

232
         # TODO : remove commentary here raise DAVError(HTTP_FORBIDDEN)
232
         # TODO : remove commentary here raise DAVError(HTTP_FORBIDDEN)
233
         if '/.deleted/' in self.path or '/.archived/' in self.path:
233
         if '/.deleted/' in self.path or '/.archived/' in self.path:
234
             raise DAVError(HTTP_FORBIDDEN)
234
             raise DAVError(HTTP_FORBIDDEN)
235
-
235
+        # TODO: Test ici que la ressource n'existe pas déjà
236
+        # Si oui on retourne le document déjà existant ?
236
         return FakeFileStream(
237
         return FakeFileStream(
237
             file_name=file_name,
238
             file_name=file_name,
238
             content_api=self.content_api,
239
             content_api=self.content_api,