fixed error reporting in dal
This commit is contained in:
2
VERSION
2
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
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user