Skip to content

Commit

Permalink
Revert "Update copyright notices"
Browse files Browse the repository at this point in the history
This reverts commit 42b2380.
  • Loading branch information
soininen committed Jan 24, 2024
1 parent 42b2380 commit 5826a0d
Show file tree
Hide file tree
Showing 73 changed files with 3 additions and 75 deletions.
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_engine")
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_engine/__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 Engine.
# Spine Engine 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
Expand Down
1 change: 0 additions & 1 deletion spine_engine/config.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 Engine.
# Spine Engine 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_engine/exception.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 Engine.
# Spine Engine 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_engine/execution_managers/__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 Engine.
# Spine Engine 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
Expand Down
1 change: 0 additions & 1 deletion spine_engine/execution_managers/execution_manager_base.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 Engine.
# Spine Engine 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 Engine.
# Spine Engine 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 Engine.
# Spine Engine 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 Engine.
# Spine Engine 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_engine/execution_managers/spine_repl.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 Engine.
# Spine Engine 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_engine/load_project_items.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 Engine.
# Spine Engine 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_engine/multithread_executor/__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 Engine.
# Spine Engine 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
Expand Down
1 change: 0 additions & 1 deletion spine_engine/multithread_executor/executor.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 Engine.
# Spine Engine 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_engine/multithread_executor/multithread.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 Engine.
# Spine Engine 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_engine/multithread_executor/thread_executor.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 Engine.
# Spine Engine 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_engine/project_item/__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 Engine.
# Spine Engine 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_engine/project_item/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 Engine.
# Spine Engine 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_engine/project_item/executable_item_base.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 Engine.
# Spine Engine 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_engine/project_item/project_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 Engine.
# Spine Engine 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_engine/project_item/project_item_resource.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 Engine.
# Spine Engine 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_engine/project_item/project_item_specification.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 Engine.
# Spine Engine 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 Engine.
# Spine Engine 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_engine/project_item_loader.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 Engine.
# Spine Engine 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_engine/server/__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 Engine.
# Spine Engine 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
Expand Down
1 change: 0 additions & 1 deletion spine_engine/server/certificate_creator.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 Engine.
# Spine Engine 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_engine/server/engine_server.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 Engine.
# Spine Engine 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_engine/server/persistent_execution_service.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 Engine.
# Spine Engine 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_engine/server/ping_service.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 Engine.
# Spine Engine 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_engine/server/project_extractor_service.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 Engine.
# Spine Engine 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_engine/server/project_remover_service.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 Engine.
# Spine Engine 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_engine/server/project_retriever_service.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 Engine.
# Spine Engine 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_engine/server/remote_execution_service.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 Engine.
# Spine Engine 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_engine/server/request.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 Engine.
# Spine Engine 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_engine/server/service_base.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 Engine.
# Spine Engine 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_engine/server/start_server.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 Engine.
# Spine Engine 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_engine/server/util/__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 Engine.
# Spine Engine 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
Expand Down
1 change: 0 additions & 1 deletion spine_engine/server/util/event_data_converter.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 Engine.
# Spine Engine 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_engine/server/util/server_message.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 Engine.
# Spine Engine 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_engine/server/util/zip_handler.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 Engine.
# Spine Engine 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 5826a0d

Please sign in to comment.