Four ways to link a row: by object, object/col, (object, handle), [(obj, handle)...]]
svn: r13785
This commit is contained in:
parent
01c743e6c7
commit
013ef62b6b
@ -317,6 +317,8 @@ class SimpleTable(object):
|
|||||||
obj_type, handle = None, None
|
obj_type, handle = None, None
|
||||||
if isinstance(self.__link_col, tuple):
|
if isinstance(self.__link_col, tuple):
|
||||||
obj_type, handle = self.__link_col
|
obj_type, handle = self.__link_col
|
||||||
|
elif isinstance(self.__link_col, list):
|
||||||
|
obj_type, handle = self.__link_col[index]
|
||||||
elif self.__link[index]:
|
elif self.__link[index]:
|
||||||
obj_type, handle = self.__link[index]
|
obj_type, handle = self.__link[index]
|
||||||
if obj_type:
|
if obj_type:
|
||||||
|
Loading…
Reference in New Issue
Block a user