ソースを参照

Merge pull request #102 from tracim/fix/fix_small_broken_code

Damien Accorsi 7 年 前
コミット
986f538aa9
No account linked to committer's email
共有1 個のファイルを変更した5 個の追加1 個の削除を含む
  1. 5 1
      tracim/lib/core/content.py

+ 5 - 1
tracim/lib/core/content.py ファイルの表示

985
         self.save(item, do_notify=False)
985
         self.save(item, do_notify=False)
986
 
986
 
987
         for child in item.children:
987
         for child in item.children:
988
-            with new_revision(child):
988
+            with new_revision(
989
+                session=self._session,
990
+                tm=transaction.manager,
991
+                content=child
992
+            ):
989
                 self.move_recursively(child, item, new_workspace)
993
                 self.move_recursively(child, item, new_workspace)
990
         return
994
         return
991
 
995