Browse Source

Disable broken children copy

Guénaël Muller 6 years ago
parent
commit
011ea5629d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      tracim/tracim/lib/content.py

+ 3 - 2
tracim/tracim/lib/content.py View File

897
             content.revisions.append(cpy_rev)
897
             content.revisions.append(cpy_rev)
898
             DBSession.add(content)
898
             DBSession.add(content)
899
 
899
 
900
+        # TODO - G.M - 15-03-2018 - Child copy broken !
900
         # INFO - G.M - 15-03-2018 - copy childrens (comments and others things)
901
         # INFO - G.M - 15-03-2018 - copy childrens (comments and others things)
901
-        for child in item.children:
902
-            self.copy(child, content)
902
+        # for child in item.children:
903
+        #    self.copy(child, content)
903
 
904
 
904
         # INFO - GM - 15-03-2018 - add "copy" revision
905
         # INFO - GM - 15-03-2018 - add "copy" revision
905
         content.new_revision()
906
         content.new_revision()