]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/app/wordpress.py
Test if math directory exists, to future proof 1.18.0.
[wizard.git] / 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):