From cf0620cfa97c8482bd029101b8956dfd2ccae959 Mon Sep 17 00:00:00 2001
From: Tobias Schmidt <tobias.schmidt@unibas.ch>
Date: Fri, 27 Jul 2012 20:25:42 +0200
Subject: [PATCH] fix syntax error in AddCol function in table class

---
 modules/base/pymod/table.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/base/pymod/table.py b/modules/base/pymod/table.py
index d2c1e7b00..7d0b53268 100644
--- a/modules/base/pymod/table.py
+++ b/modules/base/pymod/table.py
@@ -641,7 +641,7 @@ class Table(object):
         for row, d in zip(self.rows, data):
           row.append(d)
 
-    elif data!=None and len(self.cols)==0:
+    elif data!=None and len(self.col_names)==0:
       if IsScalar(data):
         self.AddRow({col_name : data})
       else:
-- 
GitLab