Four ways to link a row: by object, object/col, (object, handle), [(obj, handle)...]]

svn: r13785
This commit is contained in:
Doug Blank 2009-12-13 14:45:52 +00:00
parent 01c743e6c7
commit 013ef62b6b

View File

@ -317,6 +317,8 @@ class SimpleTable(object):
obj_type, handle = None, None
if isinstance(self.__link_col, tuple):
obj_type, handle = self.__link_col
elif isinstance(self.__link_col, list):
obj_type, handle = self.__link_col[index]
elif self.__link[index]:
obj_type, handle = self.__link[index]
if obj_type: