"""
side_effects = True
provides = frozenset(["mysql_host", "mysql_user", "mysql_password", "mysql_db"])
"""
side_effects = True
provides = frozenset(["mysql_host", "mysql_user", "mysql_password", "mysql_db"])
def execute(self, options):
"""Creates a new database for the user using ``get-next-database`` and ``create-database``."""
sh = shell.Shell()
def execute(self, options):
"""Creates a new database for the user using ``get-next-database`` and ``create-database``."""
sh = shell.Shell()
sh.call("/mit/scripts/sql/bin/create-database", options.mysql_db)
class ScriptsEmailStrategy(Strategy):
sh.call("/mit/scripts/sql/bin/create-database", options.mysql_db)
class ScriptsEmailStrategy(Strategy):