Skip to content

Commit d2d7161

Browse files
committed
Fix issue #586.
1 parent fa8c95b commit d2d7161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stix2/v21/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class GranularMarking(_STIXBase21):
7777
def _check_object_constraints(self):
7878
super(GranularMarking, self)._check_object_constraints()
7979
self._check_at_least_one_property(['lang', 'marking_ref'])
80-
80+
self._check_mutually_exclusive_properties(['lang', 'marking_ref'])
8181

8282
class LanguageContent(_STIXBase21):
8383
"""For more detailed information on this object's properties, see

0 commit comments

Comments
 (0)