Explorar el Código

add comment about 'isMove' special case

Guénaël Muller hace 6 años
padre
commit
6df3311639
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      tracim/tracim/lib/webdav/sql_resources.py

+ 8 - 0
tracim/tracim/lib/webdav/sql_resources.py Ver fichero

@@ -1007,6 +1007,14 @@ class File(DAVNonCollection):
1007 1007
 
1008 1008
     def copyMoveSingle(self, destpath, isMove):
1009 1009
         if isMove:
1010
+            # INFO - G.M - 12-03-2018 - This case should not happen
1011
+            # As far as moveRecursive method exist, all move should not go
1012
+            # through this method. If such case appear, try replace this to :
1013
+            ####
1014
+            # self.move_file(destpath)
1015
+            # return
1016
+            ####
1017
+
1010 1018
             raise NotImplemented
1011 1019
 
1012 1020
         new_file_name = None