]> scripts.mit.edu Git - wizard.git/commitdiff
s/Upgrade/Update/ for Wordpress.
authorEdward Z. Yang <ezyang@mit.edu>
Sat, 28 May 2011 01:35:58 +0000 (02:35 +0100)
committerEdward Z. Yang <ezyang@mit.edu>
Sat, 28 May 2011 01:35:58 +0000 (02:35 +0100)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
wizard/app/wordpress.py

index 0a4f1b8cdd72d3e8c2242b4cfde19d07641705b5..3ad340e1d1d78689e9576be10bad6f48d3a3c861 100644 (file)
@@ -146,7 +146,8 @@ class Application(app.Application):
         php.ini_replace_vars()
     def upgrade(self, d, version, options):
         result = d.fetch("wp-admin/upgrade.php?step=1")
-        if "Upgrade Complete" not in result and "Update Complete" not in result and "No Upgrade Required" not in result:
+        if "Upgrade Complete" not in result and "Update Complete" not in result and \
+                "No Upgrade Required" not in result and "No Update Required" not in result:
             raise app.UpgradeFailure(result)
     @app.throws_database_errors
     def backup(self, deployment, backup_dir, options):