Remove lower for test of existing field

This commit is contained in:
ced@b2ck.com
2007-12-27 20:59:10 +01:00
parent d2982e9d7e
commit 5f6d560fd0
+1 -1
View File
@@ -428,7 +428,7 @@ class ORM(object):
"AND a.attname = %s " \
"AND c.oid = a.attrelid " \
"AND a.atttypid = t.oid",
(self._table, k.lower()))
(self._table, k))
res = cursor.dictfetchall()
if not res:
if not isinstance(field, fields.function) \