From 66fa7a1ea9fdc74d5a3139329b1eb9689025db97 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 15 Oct 2012 06:36:44 -0500 Subject: [PATCH] fixed error for missing driver --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index e545d9c1..206f0fea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.1.0 (2012-10-15 06:15:29) dev +Version 2.1.0 (2012-10-15 06:36:40) dev diff --git a/gluon/dal.py b/gluon/dal.py index 31e068c6..175e3faa 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -691,7 +691,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" % self.drivers def __init__(self, db,uri,pool_size=0, folder=None, db_codec='UTF-8',