Commit 3a6a9324 authored by Bartek Górny's avatar Bartek Górny

changed for more generic interface

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10310 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dcbe1a86
...@@ -234,7 +234,8 @@ class DMSFile(XMLObject,File): ...@@ -234,7 +234,8 @@ class DMSFile(XMLObject,File):
''' '''
lst=[] lst=[]
for ref in self.getWikiSuccessorReferenceList(): for ref in self.getWikiSuccessorReferenceList():
res=self.DMS_findDocument(ref) r=ref[1]
res=self.DMS_findDocument(**r)
if len(res)>0: if len(res)>0:
lst.append(res[0].getObject()) lst.append(res[0].getObject())
return lst return lst
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment