From 4edfe5ae4bab6d158ef0a28fd9d5dd1d4e846fb0 Mon Sep 17 00:00:00 2001 From: Michael Denkowski Date: Fri, 28 Dec 2012 01:31:25 -0500 Subject: Fix TypeError on __str__ --- python/src/sa/int_list.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/src/sa/int_list.pxi b/python/src/sa/int_list.pxi index 55f5d174..79d67ad9 100644 --- a/python/src/sa/int_list.pxi +++ b/python/src/sa/int_list.pxi @@ -26,7 +26,7 @@ cdef class IntList: ret += str(self.arr[idx]) ret += "]" ret += "len=" - ret += self.len + ret += str(self.len) return ret def index(self, val): -- cgit v1.2.3