]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
... also when changing the row dynamically
authorGaëtan de Menten <gdementen@gmail.com>
Fri, 2 Apr 2010 18:34:02 +0000 (20:34 +0200)
committerGaëtan de Menten <gdementen@gmail.com>
Fri, 2 Apr 2010 18:34:02 +0000 (20:34 +0200)
lib/sqlalchemy/cextension/resultproxy.c

index 45149bebd5a477390ad44b2f81ef226da3f179a4..5d9100469eb22f3d255e5a1b800095326f08d318 100644 (file)
@@ -392,7 +392,7 @@ BaseRowProxy_setrow(BaseRowProxy *self, PyObject *value, void *closure)
         return -1;
     }
 
-    if (!PyTuple_CheckExact(value)) {
+    if (!PySequence_Check(value)) {
         PyErr_SetString(PyExc_TypeError,
                         "The 'row' attribute value must be a sequence");
         return -1;