diff --git a/VERSION b/VERSION index 4bef81dc..9a8959c3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.2.1 (2012-11-29 23:53:48) stable +Version 2.2.1 (2012-11-30 08:33:32) stable diff --git a/gluon/dal.py b/gluon/dal.py index 4b489813..241ba5c5 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -706,7 +706,7 @@ class BaseAdapter(ConnectionPool): self.driver_name = drivers_available[0] self.driver = globals().get(self.driver_name) else: - raise RuntimeError("no driver available %s" % self.drivers) + raise RuntimeError("no driver available %s" % str(self.drivers)) def __init__(self, db,uri,pool_size=0, folder=None, db_codec='UTF-8', diff --git a/scripts/setup-web2py-heroku.sh b/scripts/setup-web2py-heroku.sh index 0642f9eb..c8051d1f 100644 --- a/scripts/setup-web2py-heroku.sh +++ b/scripts/setup-web2py-heroku.sh @@ -1,6 +1,6 @@ read -p "Choose your admin password?" passwd sudo pip install virtualenv -sudo pip install postgresql2 +sudo pip install psycopg2 virtualenv venv --distribute source venv/bin/activate pip freeze > requirements.txt