Minor improvements in _obidms Cython layer

This commit is contained in:
Celine Mercier
2016-05-04 13:43:26 +02:00
parent bc12360490
commit f961621f5d

View File

@ -293,13 +293,8 @@ cdef class OBIView :
def __repr__(self) :
cdef str s
cdef OBIDMS_column column
cdef OBIDMS_column_p column_p
s = self.name
s = s + ", " + self.comments + ", " + str(self.pointer.line_count) + " lines\n"
s = str(self.name) + ", " + str(self.comments) + ", " + str(self.pointer.line_count) + " lines\n"
for column_name in self.columns :
s = s + self.columns[column_name].__repr__() + '\n'
return s