]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/mass_migrate.py
MediaWiki installation now requires reading php.ini
[wizard.git] / wizard / command / mass_migrate.py
index 98c05091ee62f51f9d447cad6d5ef2bfda0fdf0b..c4f4389eca5c9551f47ef2b7c56cc04e2f30de91 100644 (file)
@@ -37,7 +37,7 @@ def main(argv, baton):
             def on_success(stdout, stderr):
                 if stderr:
                     logging.warning("Warnings [%04d] %s:\n%s" % (i, d.location, stderr))
-                    runtime.write("warning", i, d.location)
+                    runtime.write("warnings", i, d.location)
                 runtime.write("success", i, d.location)
             def on_error(e):
                 if e.name == "wizard.command.migrate.AlreadyMigratedError" or \
@@ -72,7 +72,7 @@ the scripts AFS patch."""
     baton.push(parser, "dry_run")
     baton.push(parser, "max_processes")
     parser.add_option("--force", dest="force", action="store_true",
-            default=False, help="Force migrations to occur even if .scripts or .git exists.")
+            default=False, help="Force migrations to occur even if .wizard or .git exists.")
     baton.push(parser ,"limit")
     baton.push(parser, "versions_path")
     baton.push(parser, "srv_path")