Bladeren bron

add comment about 'isMove' special case

Guénaël Muller 6 jaren geleden
bovenliggende
commit
6df3311639
1 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 8 0
      tracim/tracim/lib/webdav/sql_resources.py

+ 8 - 0
tracim/tracim/lib/webdav/sql_resources.py Bestand weergeven

@@ -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