From 7787317d064f66410273837f8f344cdb0859dab7 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 5 Jan 2014 21:37:31 -0600 Subject: [PATCH] fixed a problem with python version compatibility, thanks Anthony --- VERSION | 2 +- gluon/dal.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 2d19921c..297b599c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2014.01.04.20.18.32 +Version 2.8.2-stable+timestamp.2014.01.05.21.36.38 diff --git a/gluon/dal.py b/gluon/dal.py index 24f7e405..2ac4c8b6 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -8454,9 +8454,8 @@ def index(): # reduce the column info down to just the field names fields = colnames or [f[0] for f in columns] if len(fields) != len(set(fields)): - raise RuntimeError( - "Result set includes duplicate column names." - "Specify unique column names using the 'colnames' argument") + raise RuntimeError("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