浏览代码

Disable broken children copy

Guénaël Muller 6 年前
父节点
当前提交
011ea5629d
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      tracim/tracim/lib/content.py

+ 3 - 2
tracim/tracim/lib/content.py 查看文件

@@ -897,9 +897,10 @@ class ContentApi(object):
897 897
             content.revisions.append(cpy_rev)
898 898
             DBSession.add(content)
899 899
 
900
+        # TODO - G.M - 15-03-2018 - Child copy broken !
900 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 905
         # INFO - GM - 15-03-2018 - add "copy" revision
905 906
         content.new_revision()