changeset 1026:5f93a84e125f

merge
author "Luis Henrique Fagundes <lhfagundes@gmail.com>"
date Sun, 30 Oct 2011 20:05:21 -0200
parents 81d30cb55b68 (current diff) ab22ceb57151 (diff)
children 412969bbf05c
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/moin19/import19.py	Sun Oct 30 20:04:18 2011 -0200
+++ b/MoinMoin/script/migration/moin19/import19.py	Sun Oct 30 20:05:21 2011 -0200
@@ -91,8 +91,8 @@
 
         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]]