Skip to content

Commit

Permalink
Revert "Update copyright notices"
Browse files Browse the repository at this point in the history
This reverts commit 210073f.
  • Loading branch information
soininen committed Jan 24, 2024
1 parent 210073f commit f6872f6
Show file tree
Hide file tree
Showing 261 changed files with 3 additions and 263 deletions.
1 change: 0 additions & 1 deletion bin/append_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
license_text = [
"######################################################################################################################\n",
"# Copyright (C) 2017-2022 Spine project consortium\n",
"# Copyright (C) 2023-2024 Mopo project consortium\n",
"# This file is part of Spine Items.\n",
"# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General\n",
"# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)\n",
Expand Down
6 changes: 3 additions & 3 deletions bin/update_copyrights.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project_source_dir = Path(root_dir, "spine_items")
test_source_dir = Path(root_dir, "tests")

expected = f"# Copyright (C) 2023-{current_year} Mopo project consortium"
expected = f"# Copyright (C) 2017-{current_year} Spine project consortium"


def update_copyrights(path, suffix, recursive=True):
Expand All @@ -18,8 +18,8 @@ def update_copyrights(path, suffix, recursive=True):
i = 0
with open(path) as python_file:
lines = python_file.readlines()
for i, line in enumerate(lines[1:5]):
if line.startswith("# Copyright (C) ") and "Mopo" in line:
for i, line in enumerate(lines[1:4]):
if line.startswith("# Copyright (C) "):
lines[i + 1] = lines[i + 1][:21] + str(current_year) + lines[i + 1][25:]
break
if len(lines) <= i + 1 or not lines[i + 1].startswith(expected):
Expand Down
1 change: 0 additions & 1 deletion spine_items/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/animations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/category.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Toolbox is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/commands.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/commands.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/custom_file_system_watcher.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/data_connection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/data_connection_factory.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/data_connection_icon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/executable_item.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/item_info.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/output_resources.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/ui/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/widgets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_connection/widgets/custom_menus.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/commands.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/data_store.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/data_store_factory.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/data_store_icon.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/executable_item.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/item_info.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/output_resources.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/ui/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/ui/data_store_properties.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/widgets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_store/widgets/add_data_store_widget.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_transformer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_transformer/commands.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_transformer/data_transformer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
1 change: 0 additions & 1 deletion spine_items/data_transformer/data_transformer_factory.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
######################################################################################################################
# Copyright (C) 2017-2022 Spine project consortium
# Copyright (C) 2023-2024 Mopo project consortium
# This file is part of Spine Items.
# Spine Items is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
# Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)
Expand Down
Loading

0 comments on commit f6872f6

Please sign in to comment.