nit-pick on v21 Indicator constructor

pull/1/head
Emmanuelle Vargas-Gonzalez 2020-06-30 13:58:19 -04:00
parent e25734d2b6
commit 9a0cb02ab3
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ class Indicator(_DomainObject):
if kwargs.get('pattern') and kwargs.get('pattern_type') == 'stix' and not kwargs.get('pattern_version'): if kwargs.get('pattern') and kwargs.get('pattern_type') == 'stix' and not kwargs.get('pattern_version'):
kwargs['pattern_version'] = '2.1' kwargs['pattern_version'] = '2.1'
super(_DomainObject, self).__init__(*args, **kwargs) super(Indicator, self).__init__(*args, **kwargs)
def _check_object_constraints(self): def _check_object_constraints(self):
super(Indicator, self)._check_object_constraints() super(Indicator, self)._check_object_constraints()