Commits

"Lui...@gmail.com>"  committed 5f93a84 Merge

merge

  • Participants
  • Parent commits 81d30cb, ab22ceb

Comments (0)

Files changed (1)

File MoinMoin/script/migration/moin19/import19.py

 
         print "Fix userids..."
         userid_map = dict([(rev.meta[UID_OLD], rev.meta[ITEMID]) for rev in indexer.documents(contenttype=CONTENTTYPE_USER)])
-        for revid in backend:
-            meta, data = backend.retrieve(revid)
+        for mountpoint, revid in backend:
+            meta, data = backend.retrieve(mountpoint, revid)
             if USERID in meta:
                 try:
                     meta[USERID] = userid_map[meta[USERID]]