Thomas Waldmann committed 5eaa575

import19: fix code that was forgotten in last refactoring

Comments (0)

Files changed (1)


                                      # if we have an entry there
-                previous_meta = PageRevision(item, revno-1)._fs_meta
+                revpath = os.path.join(item.path, 'revisions', '{0:08d}'.format(revno-1))
+                previous_meta = PageRevision(item, revno-1, revpath).meta
                 # if this page revision is deleted, we have no on-page metadata.
                 # but some metadata is required, thus we have to copy it from the
                 # (non-deleted) revision revno-1: