correctly identify master version when loading external collection
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4054 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
f450f04636
commit
3ec415294b
1 changed files with 3 additions and 1 deletions
|
@ -137,7 +137,9 @@ class ExternalCollectionAdapter(AdapterBase):
|
|||
def getVersions(self, obj):
|
||||
versionable = IVersionable(obj)
|
||||
return [(adapted(v).externalAddress, v, vid)
|
||||
for vid, v in versionable.versions.items() if vid != '1.1']
|
||||
#for vid, v in versionable.versions.items() if vid != '1.1']
|
||||
for vid, v in versionable.versions.items()
|
||||
if v.parent is not None]
|
||||
|
||||
|
||||
class DirectoryCollectionProvider(object):
|
||||
|
|
Loading…
Add table
Reference in a new issue