Browse Source

add comment about 'isMove' special case

Guénaël Muller 6 years ago
parent
commit
6df3311639
1 changed files with 8 additions and 0 deletions
  1. 8 0
      tracim/tracim/lib/webdav/sql_resources.py

+ 8 - 0
tracim/tracim/lib/webdav/sql_resources.py View File

1007
 
1007
 
1008
     def copyMoveSingle(self, destpath, isMove):
1008
     def copyMoveSingle(self, destpath, isMove):
1009
         if isMove:
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
             raise NotImplemented
1018
             raise NotImplemented
1011
 
1019
 
1012
         new_file_name = None
1020
         new_file_name = None