From f89940ec0e8aecfab701874dd586da77e52b8766 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Mon, 14 Oct 2019 12:34:31 +0200 Subject: [PATCH] fix: Added missing param to the id validation function --- stix2/properties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix2/properties.py b/stix2/properties.py index e0397e3..42550f6 100644 --- a/stix2/properties.py +++ b/stix2/properties.py @@ -479,7 +479,7 @@ class ReferenceProperty(Property): else: raise ValueError("An invalid type-specifying prefix '%s' was specified for this property" % (possible_prefix, value)) interoperability = self.interoperability if hasattr(self, 'interoperability') and self.interoperability else False - _validate_id(value, self.spec_version, required_prefix) + _validate_id(value, self.spec_version, required_prefix, interoperability) return value