def create_database(func=run):
    """
    Creates the user and database for this project.
    """
    func('createuser -s %(project_name)s' % env)
    func('echo "ALTER USER %(project_name)s with password %(database_password)s" | psql postgres' % env)
    func('echo "GRANT ALL PRIVILEGES TO %(project_name)s;" | psql postgres' % env)
    func('createdb -O %(project_name)s %(project_name)s -T template_postgis' + env)
dataset/ETHPy150Open ireapps/census/censusweb/fabfile.py/create_database/operator `%` -> `+`