import sqlalchemy
+import os
+
+from wizard import shell
# We're going to use sqlalchemy.engine.url.URL as our database
# info intermediate object
# this is hook stuff
if url.driver == "mysql":
try:
- url.host, url.username, url.password = sh.eval("/mit/scripts/sql/bin/get-password").split()
+ url.host, url.username, url.password = shell.Shell().eval("/mit/scripts/sql/bin/get-password").split()
return url
except shell.CallError:
pass