summaryrefslogtreecommitdiff
path: root/table.py
diff options
context:
space:
mode:
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2006-06-20 10:58:19 +0200
committerAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2006-06-20 10:58:19 +0200
commitaafd84cd45312cd197afcb01ac4d605d52d1209f (patch)
tree346567fd1fbc51cdef8f7525f41fdd15d96d4cea /table.py
parent9bf7768129e98d76aa87552844fe56a49a291bcf (diff)
downloadlogilab-common-aafd84cd45312cd197afcb01ac4d605d52d1209f.tar.gz
adds any/all builtins
Diffstat (limited to 'table.py')
-rw-r--r--table.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/table.py b/table.py
index 2851f7c..e3bb79c 100644
--- a/table.py
+++ b/table.py
@@ -188,7 +188,7 @@ class Table(object):
row_name = row_name or self._next_row_name()
self.row_names.append(row_name)
self.data.append(row_data)
-
+ return len(self.data) - 1
def insert_row(self, index, row_data, row_name=None):
"""Appends row_data before 'index' in the table. To make 'insert'