Add parent_directory_ref as an ID contributing property for the

file SCO.
master
Michael Chisholm 2020-03-05 17:18:32 -05:00
parent 30a59ad776
commit a862b930be
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ class File(_Observable):
('granular_markings', ListProperty(GranularMarking)), ('granular_markings', ListProperty(GranularMarking)),
('defanged', BooleanProperty(default=lambda: False)), ('defanged', BooleanProperty(default=lambda: False)),
]) ])
_id_contributing_properties = ["hashes", "name", "extensions"] _id_contributing_properties = ["hashes", "name", "parent_directory_ref", "extensions"]
def _check_object_constraints(self): def _check_object_constraints(self):
super(File, self)._check_object_constraints() super(File, self)._check_object_constraints()