]> git.openstreetmap.org Git - osqa.git/commitdiff
Forgot some comments.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 9 Jun 2010 14:53:44 +0000 (14:53 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 9 Jun 2010 14:53:44 +0000 (14:53 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@400 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/sximporter/importer.py

index efc2867c3a6d2eb440733a7005c1a16f091d351c..bc1cf9fa785fd7a4e2e1110c6c02c2b52330ac87 100644 (file)
@@ -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()