=== modified file 'python/swig/recattr_getvalue.i'
--- a/python/swig/recattr_getvalue.i	2008-04-22 06:21:51 +0000
+++ b/python/swig/recattr_getvalue.i	2008-05-08 16:09:17 +0000
@@ -25,7 +25,7 @@
 def getValue(self):
   t=self.getColType()
 
-  if t >= ndbapi.NDB_TYPE_TINYINT and t <= NDB_TYPE_BIGINT and (t%2==0.0):
+  if t >= NDB_TYPE_TINYINT and t <= NDB_TYPE_BIGINT and (t%2==0.0):
     ret = self.getInt32()
   elif t >= NDB_TYPE_TINYUNSIGNED and t <= NDB_TYPE_BIGUNSIGNED and (t%2==1):
     ret = self.getUint32()


