ERROR: Could not parse quota. %s
""" % self.msg
+
+def sql_auth(url):
+ if url.driver == "mysql":
+ try:
+ url.host, url.username, url.password = shell.Shell().eval("/mit/scripts/sql/bin/get-password").split()
+ return url
+ except shell.CallError:
+ pass
+ return None