X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/blobdiff_plain/ef93edac43b2d8b633c1e3ff30ae123371d7e5e9..10e070573dc4d7a5bbbf510cdacf94364afd2134:/plugins/scripts/wizard_scripts.py diff --git a/plugins/scripts/wizard_scripts.py b/plugins/scripts/wizard_scripts.py index 648d8a7..7d23072 100644 --- a/plugins/scripts/wizard_scripts.py +++ b/plugins/scripts/wizard_scripts.py @@ -121,6 +121,8 @@ def sql_auth(url): return url except shell.CallError: pass + except OSError: + pass return None def sql_drop(url): @@ -185,6 +187,8 @@ class MysqlStrategy(install.Strategy): raise install.StrategyFailed try: self._triplet = shell.eval("/mit/scripts/sql/bin/get-password").split() + except OSError: + raise install.StrategyFailed except shell.CallError: raise install.StrategyFailed if len(self._triplet) != 3: