Преглед изворни кода

Merge pull request #102 from tracim/fix/fix_small_broken_code

Damien Accorsi пре 6 година
родитељ
комит
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,7 +985,11 @@ class ContentApi(object):
985 985
         self.save(item, do_notify=False)
986 986
 
987 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 993
                 self.move_recursively(child, item, new_workspace)
990 994
         return
991 995