From: hernani Date: Wed, 9 Jun 2010 14:53:44 +0000 (+0000) Subject: Forgot some comments. X-Git-Tag: live~732 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/ae1bc67551ec58d2e419cffc3aaaf41f17dcf4cd Forgot some comments. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@400 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum_modules/sximporter/importer.py b/forum_modules/sximporter/importer.py index efc2867..bc1cf9f 100644 --- a/forum_modules/sximporter/importer.py +++ b/forum_modules/sximporter/importer.py @@ -747,17 +747,17 @@ def reset_sequences(): db.commit_transaction() def sximport(dump, options): -#uidmap, merged_users = userimport(dump, options) -#tagmap = tagsimport(dump, uidmap) -#posts = postimport(dump, uidmap, tagmap) -#posts, comments = comment_import(dump, uidmap, posts) -#add_tags_to_posts(posts, tagmap) -#post_vote_import(dump, uidmap, posts) -#comment_vote_import(dump, uidmap, comments, posts) -#badges_import(dump, uidmap, posts.values()) + uidmap, merged_users = userimport(dump, options) + tagmap = tagsimport(dump, uidmap) + posts = postimport(dump, uidmap, tagmap) + posts, comments = comment_import(dump, uidmap, posts) + add_tags_to_posts(posts, tagmap) + post_vote_import(dump, uidmap, posts) + comment_vote_import(dump, uidmap, comments, posts) + badges_import(dump, uidmap, posts.values()) pages_import(dump) - #static_import(dump) + static_import(dump) from south.db import db db.commit_transaction()