From 76b3906ade5f1156c1720b9f492ff6ec090b637c Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 4 Jan 2014 20:19:20 -0600 Subject: [PATCH] fixed error message, thanks Anthony --- VERSION | 2 +- gluon/dal.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 5c529d15..2d19921c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2014.01.03.21.59.04 +Version 2.8.2-stable+timestamp.2014.01.04.20.18.32 diff --git a/gluon/dal.py b/gluon/dal.py index 2013155b..24f7e405 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -8455,7 +8455,8 @@ def index(): fields = colnames or [f[0] for f in columns] if len(fields) != len(set(fields)): raise RuntimeError( - "as_dict=True not supported if ambiguous column names") + "Result set includes duplicate column names." + "Specify unique column names using the 'colnames' argument") # will hold our finished resultset in a list data = adapter._fetchall() # convert the list for each row into a dictionary so it's