fixed a problem with python version compatibility, thanks Anthony

This commit is contained in:
mdipierro committed 2014-01-05 21:37:31 -06:00
1 parent 76b3906ade
commit 7787317d06
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -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
+2 -3
View File
@@ -8454,9 +8454,8 @@ def index():
# reduce the column info down to just the field names # reduce the column info down to just the field names
fields = colnames or [f[0] for f in columns] fields = colnames or [f[0] for f in columns]
if len(fields) != len(set(fields)): if len(fields) != len(set(fields)):
raise RuntimeError( raise RuntimeError("Result set includes duplicate column names. Specify unique column names using the 'colnames' argument")
"Result set includes duplicate column names."
"Specify unique column names using the 'colnames' argument")
# will hold our finished resultset in a list # will hold our finished resultset in a list
data = adapter._fetchall() data = adapter._fetchall()
# convert the list for each row into a dictionary so it's # convert the list for each row into a dictionary so it's