Fix versionability detection: _properties is an OrderedDict not
a list of tuples! (despite what it looks like if you glance at it quickly.)pull/1/head
parent
15e75cb4de
commit
eaa7f17ee4
|
@ -117,7 +117,7 @@ def _is_versionable(data):
|
|||
# but do check SCOs
|
||||
cls = class_maps["observables"][obj_type]
|
||||
is_versionable = _VERSIONING_PROPERTIES.issubset(
|
||||
p[0] for p in cls._properties
|
||||
cls._properties
|
||||
)
|
||||
|
||||
return is_versionable, is_21
|
||||
|
|
Loading…
Reference in New Issue