From fa46b668beb793050f8bc672522c4f1718abb19d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 6 May 2020 11:40:24 +0200 Subject: Move license and copyright registration of items This avoids a future cyclic dependency between the items and content modules. --- rtemsqual/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtemsqual/interface.py') diff --git a/rtemsqual/interface.py b/rtemsqual/interface.py index 7beddda1..6c9454dd 100644 --- a/rtemsqual/interface.py +++ b/rtemsqual/interface.py @@ -374,7 +374,7 @@ class HeaderFile: ingroups = _get_ingroups(item) self._ingroups.update(ingroups) self._nodes[item.uid] = Node(self, item, ingroups) - item.register_license_and_copyrights(self._content) + self._content.register_license_and_copyrights_of_item(item) def add_potential_edge(self, node: Node, item: Item) -> None: """ -- cgit v1.2.3