From 34afb5b40c02bf16213eab2c9a249c7b98122ad2 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Mon, 29 Apr 2024 09:28:40 +1200 Subject: [PATCH] update license headers outside of subiquity package --- console_conf/__init__.py | 9 ++++----- console_conf/cmd/tui.py | 9 ++++----- console_conf/cmd/write_login_details.py | 9 ++++----- console_conf/controllers/__init__.py | 9 ++++----- console_conf/controllers/chooser.py | 9 ++++----- console_conf/controllers/identity.py | 9 ++++----- console_conf/controllers/tests/test_chooser.py | 9 ++++----- console_conf/controllers/tests/test_identity.py | 9 ++++----- console_conf/controllers/welcome.py | 9 ++++----- console_conf/core.py | 9 ++++----- console_conf/models/identity.py | 9 ++++----- console_conf/models/systems.py | 9 ++++----- console_conf/models/tests/test_systems.py | 9 ++++----- console_conf/ui/__init__.py | 9 ++++----- console_conf/ui/views/__init__.py | 9 ++++----- console_conf/ui/views/chooser.py | 9 ++++----- console_conf/ui/views/identity.py | 9 ++++----- console_conf/ui/views/login.py | 9 ++++----- console_conf/ui/views/tests/test_chooser.py | 9 ++++----- console_conf/ui/views/welcome.py | 9 ++++----- scripts/pc105.py | 9 ++++----- scripts/validate-autoinstall-user-data.py | 9 ++++----- subiquitycore/__init__.py | 9 ++++----- subiquitycore/async_helpers.py | 9 ++++----- subiquitycore/context.py | 9 ++++----- subiquitycore/controller.py | 9 ++++----- subiquitycore/controllers/__init__.py | 9 ++++----- subiquitycore/controllers/network.py | 9 ++++----- subiquitycore/controllers/tests/__init__.py | 9 ++++----- subiquitycore/controllers/tests/test_network.py | 9 ++++----- subiquitycore/controllerset.py | 9 ++++----- subiquitycore/core.py | 9 ++++----- subiquitycore/file_util.py | 9 ++++----- subiquitycore/i18n.py | 9 ++++----- subiquitycore/log.py | 9 ++++----- subiquitycore/models/__init__.py | 9 ++++----- subiquitycore/models/network.py | 9 ++++----- subiquitycore/models/tests/test_network.py | 9 ++++----- subiquitycore/palette.py | 9 ++++----- subiquitycore/prober.py | 9 ++++----- subiquitycore/pubsub.py | 9 ++++----- subiquitycore/screen.py | 9 ++++----- subiquitycore/snap.py | 9 ++++----- subiquitycore/snapd.py | 9 ++++----- subiquitycore/ssh.py | 9 ++++----- subiquitycore/tests/mocks.py | 9 ++++----- subiquitycore/tests/parameterized.py | 9 ++++----- subiquitycore/tests/test_async_helpers.py | 9 ++++----- subiquitycore/tests/test_file_util.py | 9 ++++----- subiquitycore/tests/test_lsb_release.py | 9 ++++----- subiquitycore/tests/test_prober.py | 9 ++++----- subiquitycore/tests/test_pubsub.py | 9 ++++----- subiquitycore/tests/test_snap.py | 9 ++++----- subiquitycore/tests/test_ssh.py | 9 ++++----- subiquitycore/tests/test_tui.py | 9 ++++----- subiquitycore/tests/test_utils.py | 9 ++++----- subiquitycore/tests/test_view.py | 9 ++++----- subiquitycore/tests/util.py | 9 ++++----- subiquitycore/tui.py | 9 ++++----- subiquitycore/tuicontroller.py | 9 ++++----- subiquitycore/ui/__init__.py | 9 ++++----- subiquitycore/ui/actionmenu.py | 9 ++++----- subiquitycore/ui/anchors.py | 9 ++++----- subiquitycore/ui/buttons.py | 9 ++++----- subiquitycore/ui/confirmation.py | 9 ++++----- subiquitycore/ui/container.py | 9 ++++----- subiquitycore/ui/form.py | 9 ++++----- subiquitycore/ui/frame.py | 9 ++++----- subiquitycore/ui/interactive.py | 9 ++++----- subiquitycore/ui/selector.py | 9 ++++----- subiquitycore/ui/spinner.py | 9 ++++----- subiquitycore/ui/stretchy.py | 9 ++++----- subiquitycore/ui/table.py | 9 ++++----- subiquitycore/ui/tests/test_form.py | 9 ++++----- subiquitycore/ui/tests/test_table.py | 9 ++++----- subiquitycore/ui/utils.py | 9 ++++----- subiquitycore/ui/views/__init__.py | 9 ++++----- subiquitycore/ui/views/network.py | 9 ++++----- .../ui/views/network_configure_manual_interface.py | 9 ++++----- subiquitycore/ui/width.py | 9 ++++----- subiquitycore/utils.py | 9 ++++----- subiquitycore/view.py | 9 ++++----- system_setup/__init__.py | 9 ++++----- system_setup/__main__.py | 9 ++++----- system_setup/client/__init__.py | 9 ++++----- system_setup/client/client.py | 9 ++++----- system_setup/client/controllers/__init__.py | 9 ++++----- system_setup/client/controllers/identity.py | 9 ++++----- system_setup/client/controllers/wslconfadvanced.py | 9 ++++----- system_setup/client/controllers/wslsetupoptions.py | 9 ++++----- system_setup/cmd/__init__.py | 9 ++++----- system_setup/cmd/schema.py | 9 ++++----- system_setup/cmd/server.py | 9 ++++----- system_setup/cmd/tui.py | 9 ++++----- system_setup/common/__init__.py | 9 ++++----- system_setup/common/wsl_conf.py | 9 ++++----- system_setup/common/wsl_utils.py | 9 ++++----- system_setup/models/__init__.py | 9 ++++----- system_setup/models/system_setup.py | 9 ++++----- system_setup/models/wslconfadvanced.py | 9 ++++----- system_setup/models/wslconfbase.py | 9 ++++----- system_setup/models/wslsetupoptions.py | 9 ++++----- system_setup/server/__init__.py | 9 ++++----- system_setup/server/controllers/__init__.py | 9 ++++----- system_setup/server/controllers/configure.py | 9 ++++----- system_setup/server/controllers/identity.py | 9 ++++----- system_setup/server/controllers/locale.py | 9 ++++----- system_setup/server/controllers/shutdown.py | 9 ++++----- system_setup/server/controllers/wslconfadvanced.py | 9 ++++----- system_setup/server/controllers/wslconfbase.py | 9 ++++----- system_setup/server/controllers/wslsetupoptions.py | 9 ++++----- system_setup/server/server.py | 9 ++++----- system_setup/ui/__init__.py | 9 ++++----- system_setup/ui/views/__init__.py | 9 ++++----- system_setup/ui/views/identity.py | 9 ++++----- system_setup/ui/views/wslsetupoptions.py | 9 ++++----- 116 files changed, 464 insertions(+), 580 deletions(-) diff --git a/console_conf/__init__.py b/console_conf/__init__.py index b5e8ddae..263ede22 100644 --- a/console_conf/__init__.py +++ b/console_conf/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Console-Conf """ diff --git a/console_conf/cmd/tui.py b/console_conf/cmd/tui.py index daa074d2..027f6f97 100755 --- a/console_conf/cmd/tui.py +++ b/console_conf/cmd/tui.py @@ -2,16 +2,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import argparse diff --git a/console_conf/cmd/write_login_details.py b/console_conf/cmd/write_login_details.py index 3cb0c498..6e2b4f96 100755 --- a/console_conf/cmd/write_login_details.py +++ b/console_conf/cmd/write_login_details.py @@ -2,16 +2,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/console_conf/controllers/__init__.py b/console_conf/controllers/__init__.py index f45a8534..96beab9a 100644 --- a/console_conf/controllers/__init__.py +++ b/console_conf/controllers/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ console-conf controllers """ diff --git a/console_conf/controllers/chooser.py b/console_conf/controllers/chooser.py index d4f7cf6a..d2c621ec 100644 --- a/console_conf/controllers/chooser.py +++ b/console_conf/controllers/chooser.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/console_conf/controllers/identity.py b/console_conf/controllers/identity.py index c15943c1..b3ce9e1b 100644 --- a/console_conf/controllers/identity.py +++ b/console_conf/controllers/identity.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/console_conf/controllers/tests/test_chooser.py b/console_conf/controllers/tests/test_chooser.py index 6c5a6d82..3def3d51 100644 --- a/console_conf/controllers/tests/test_chooser.py +++ b/console_conf/controllers/tests/test_chooser.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import unittest from unittest import mock diff --git a/console_conf/controllers/tests/test_identity.py b/console_conf/controllers/tests/test_identity.py index 06269b8c..4e4a3e2c 100644 --- a/console_conf/controllers/tests/test_identity.py +++ b/console_conf/controllers/tests/test_identity.py @@ -1,16 +1,15 @@ # Copyright 2024 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import os.path import tempfile diff --git a/console_conf/controllers/welcome.py b/console_conf/controllers/welcome.py index c9e68e96..893101ef 100644 --- a/console_conf/controllers/welcome.py +++ b/console_conf/controllers/welcome.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from console_conf.ui.views import ChooserWelcomeView, WelcomeView diff --git a/console_conf/core.py b/console_conf/core.py index a7bcd6e5..bf094782 100644 --- a/console_conf/core.py +++ b/console_conf/core.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/console_conf/models/identity.py b/console_conf/models/identity.py index 011de62e..8cc9712f 100644 --- a/console_conf/models/identity.py +++ b/console_conf/models/identity.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/console_conf/models/systems.py b/console_conf/models/systems.py index a6c486ba..53b8f74e 100644 --- a/console_conf/models/systems.py +++ b/console_conf/models/systems.py @@ -2,16 +2,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import json import logging diff --git a/console_conf/models/tests/test_systems.py b/console_conf/models/tests/test_systems.py index 3b929bf8..7d80c01b 100644 --- a/console_conf/models/tests/test_systems.py +++ b/console_conf/models/tests/test_systems.py @@ -2,16 +2,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import json import unittest diff --git a/console_conf/ui/__init__.py b/console_conf/ui/__init__.py index ed2c4c08..5ec0dc82 100644 --- a/console_conf/ui/__init__.py +++ b/console_conf/ui/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Subiquity UI Components """ diff --git a/console_conf/ui/views/__init__.py b/console_conf/ui/views/__init__.py index a5532abb..0a34ba1d 100644 --- a/console_conf/ui/views/__init__.py +++ b/console_conf/ui/views/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ ConsoleConf UI Views """ diff --git a/console_conf/ui/views/chooser.py b/console_conf/ui/views/chooser.py index 5b654a53..d033c099 100644 --- a/console_conf/ui/views/chooser.py +++ b/console_conf/ui/views/chooser.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Chooser diff --git a/console_conf/ui/views/identity.py b/console_conf/ui/views/identity.py index a80fe1b5..be1b933f 100644 --- a/console_conf/ui/views/identity.py +++ b/console_conf/ui/views/identity.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/console_conf/ui/views/login.py b/console_conf/ui/views/login.py index e2de4d17..15e4d890 100644 --- a/console_conf/ui/views/login.py +++ b/console_conf/ui/views/login.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Login diff --git a/console_conf/ui/views/tests/test_chooser.py b/console_conf/ui/views/tests/test_chooser.py index 95069edf..d4ae616f 100644 --- a/console_conf/ui/views/tests/test_chooser.py +++ b/console_conf/ui/views/tests/test_chooser.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import unittest diff --git a/console_conf/ui/views/welcome.py b/console_conf/ui/views/welcome.py index e7e0ea12..04ea0535 100644 --- a/console_conf/ui/views/welcome.py +++ b/console_conf/ui/views/welcome.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Welcome diff --git a/scripts/pc105.py b/scripts/pc105.py index 56052c72..5d619856 100644 --- a/scripts/pc105.py +++ b/scripts/pc105.py @@ -1,16 +1,15 @@ # Copyright 2018 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . # The keyboard autodetection process is driven by the data in diff --git a/scripts/validate-autoinstall-user-data.py b/scripts/validate-autoinstall-user-data.py index 33bffbd2..7713b139 100755 --- a/scripts/validate-autoinstall-user-data.py +++ b/scripts/validate-autoinstall-user-data.py @@ -3,16 +3,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Entry-point to validate autoinstall-user-data against schema. diff --git a/subiquitycore/__init__.py b/subiquitycore/__init__.py index 56de480e..fe27421f 100644 --- a/subiquitycore/__init__.py +++ b/subiquitycore/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ SubiquityCore """ diff --git a/subiquitycore/async_helpers.py b/subiquitycore/async_helpers.py index 4a0acfc1..3407e1fb 100644 --- a/subiquitycore/async_helpers.py +++ b/subiquitycore/async_helpers.py @@ -1,16 +1,15 @@ # Copyright 2019 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/context.py b/subiquitycore/context.py index fffd5d00..8d1d4580 100644 --- a/subiquitycore/context.py +++ b/subiquitycore/context.py @@ -1,16 +1,15 @@ # Copyright 2019 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/controller.py b/subiquitycore/controller.py index 72a2768f..ff08d20c 100644 --- a/subiquitycore/controller.py +++ b/subiquitycore/controller.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/subiquitycore/controllers/__init__.py b/subiquitycore/controllers/__init__.py index 8008b43a..56471890 100644 --- a/subiquitycore/controllers/__init__.py +++ b/subiquitycore/controllers/__init__.py @@ -1,14 +1,13 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/subiquitycore/controllers/network.py b/subiquitycore/controllers/network.py index c6d36abd..26f85176 100644 --- a/subiquitycore/controllers/network.py +++ b/subiquitycore/controllers/network.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import abc diff --git a/subiquitycore/controllers/tests/__init__.py b/subiquitycore/controllers/tests/__init__.py index 8008b43a..56471890 100644 --- a/subiquitycore/controllers/tests/__init__.py +++ b/subiquitycore/controllers/tests/__init__.py @@ -1,14 +1,13 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/subiquitycore/controllers/tests/test_network.py b/subiquitycore/controllers/tests/test_network.py index ac9f7b92..30ab976b 100644 --- a/subiquitycore/controllers/tests/test_network.py +++ b/subiquitycore/controllers/tests/test_network.py @@ -1,16 +1,15 @@ # Copyright 2023 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import unittest diff --git a/subiquitycore/controllerset.py b/subiquitycore/controllerset.py index f35f00a1..8c51d208 100644 --- a/subiquitycore/controllerset.py +++ b/subiquitycore/controllerset.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/subiquitycore/core.py b/subiquitycore/core.py index c3de3f8f..3a5f3364 100644 --- a/subiquitycore/core.py +++ b/subiquitycore/core.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/file_util.py b/subiquitycore/file_util.py index c1e48e50..d36e88cb 100644 --- a/subiquitycore/file_util.py +++ b/subiquitycore/file_util.py @@ -1,16 +1,15 @@ # Copyright 2018-2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import contextlib diff --git a/subiquitycore/i18n.py b/subiquitycore/i18n.py index 177243dd..9e241622 100644 --- a/subiquitycore/i18n.py +++ b/subiquitycore/i18n.py @@ -1,16 +1,15 @@ # Copyright 2017 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/subiquitycore/log.py b/subiquitycore/log.py index 4b6ae46d..73aed9c5 100644 --- a/subiquitycore/log.py +++ b/subiquitycore/log.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/subiquitycore/models/__init__.py b/subiquitycore/models/__init__.py index 42af1eb9..8b761a2e 100644 --- a/subiquitycore/models/__init__.py +++ b/subiquitycore/models/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from .network import NetworkModel diff --git a/subiquitycore/models/network.py b/subiquitycore/models/network.py index d49bd4de..83b8bb8e 100644 --- a/subiquitycore/models/network.py +++ b/subiquitycore/models/network.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import enum diff --git a/subiquitycore/models/tests/test_network.py b/subiquitycore/models/tests/test_network.py index 6c12d9d4..80301eb1 100644 --- a/subiquitycore/models/tests/test_network.py +++ b/subiquitycore/models/tests/test_network.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from unittest.mock import Mock diff --git a/subiquitycore/palette.py b/subiquitycore/palette.py index 490c79c9..08d3b647 100644 --- a/subiquitycore/palette.py +++ b/subiquitycore/palette.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/subiquitycore/prober.py b/subiquitycore/prober.py index 61fe7f89..bea9376b 100644 --- a/subiquitycore/prober.py +++ b/subiquitycore/prober.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/pubsub.py b/subiquitycore/pubsub.py index 5c861c55..ff91617a 100644 --- a/subiquitycore/pubsub.py +++ b/subiquitycore/pubsub.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/screen.py b/subiquitycore/screen.py index a5c3a15a..ced190dd 100644 --- a/subiquitycore/screen.py +++ b/subiquitycore/screen.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import fcntl diff --git a/subiquitycore/snap.py b/subiquitycore/snap.py index 1ef667c2..b476fe07 100644 --- a/subiquitycore/snap.py +++ b/subiquitycore/snap.py @@ -1,16 +1,15 @@ # Copyright 2024 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import os diff --git a/subiquitycore/snapd.py b/subiquitycore/snapd.py index 97bba5b2..3a07967c 100644 --- a/subiquitycore/snapd.py +++ b/subiquitycore/snapd.py @@ -1,16 +1,15 @@ # Copyright 2019 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/ssh.py b/subiquitycore/ssh.py index 846b76f8..e92e2356 100644 --- a/subiquitycore/ssh.py +++ b/subiquitycore/ssh.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/subiquitycore/tests/mocks.py b/subiquitycore/tests/mocks.py index a936b15f..1f1bb506 100644 --- a/subiquitycore/tests/mocks.py +++ b/subiquitycore/tests/mocks.py @@ -1,16 +1,15 @@ # Copyright 2020-2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from unittest import mock diff --git a/subiquitycore/tests/parameterized.py b/subiquitycore/tests/parameterized.py index 8a0d9b3e..47c1c1da 100644 --- a/subiquitycore/tests/parameterized.py +++ b/subiquitycore/tests/parameterized.py @@ -1,16 +1,15 @@ # Portions Copyright 2023 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . # This is adapted from diff --git a/subiquitycore/tests/test_async_helpers.py b/subiquitycore/tests/test_async_helpers.py index 1a1c701e..5c13115e 100644 --- a/subiquitycore/tests/test_async_helpers.py +++ b/subiquitycore/tests/test_async_helpers.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/tests/test_file_util.py b/subiquitycore/tests/test_file_util.py index 4702fa46..70d7c790 100644 --- a/subiquitycore/tests/test_file_util.py +++ b/subiquitycore/tests/test_file_util.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from pathlib import Path diff --git a/subiquitycore/tests/test_lsb_release.py b/subiquitycore/tests/test_lsb_release.py index a8d19802..78eaeace 100644 --- a/subiquitycore/tests/test_lsb_release.py +++ b/subiquitycore/tests/test_lsb_release.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import unittest diff --git a/subiquitycore/tests/test_prober.py b/subiquitycore/tests/test_prober.py index fcf0f57e..9f633857 100644 --- a/subiquitycore/tests/test_prober.py +++ b/subiquitycore/tests/test_prober.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from subiquitycore.prober import Prober diff --git a/subiquitycore/tests/test_pubsub.py b/subiquitycore/tests/test_pubsub.py index 6675bd59..6d0fd55f 100644 --- a/subiquitycore/tests/test_pubsub.py +++ b/subiquitycore/tests/test_pubsub.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import unittest diff --git a/subiquitycore/tests/test_snap.py b/subiquitycore/tests/test_snap.py index f1fcf22d..931d0ec0 100644 --- a/subiquitycore/tests/test_snap.py +++ b/subiquitycore/tests/test_snap.py @@ -1,16 +1,15 @@ # Copyright 2024 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import unittest diff --git a/subiquitycore/tests/test_ssh.py b/subiquitycore/tests/test_ssh.py index 5cbf2f8c..d3d5f5d0 100644 --- a/subiquitycore/tests/test_ssh.py +++ b/subiquitycore/tests/test_ssh.py @@ -1,16 +1,15 @@ # Copyright 2024 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import os.path diff --git a/subiquitycore/tests/test_tui.py b/subiquitycore/tests/test_tui.py index 4409082e..da36e88a 100644 --- a/subiquitycore/tests/test_tui.py +++ b/subiquitycore/tests/test_tui.py @@ -1,16 +1,15 @@ # Copyright 2023 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import json diff --git a/subiquitycore/tests/test_utils.py b/subiquitycore/tests/test_utils.py index ed27e74b..7a40252b 100644 --- a/subiquitycore/tests/test_utils.py +++ b/subiquitycore/tests/test_utils.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . # from unittest.mock import Mock diff --git a/subiquitycore/tests/test_view.py b/subiquitycore/tests/test_view.py index be28dc0d..339f3a92 100644 --- a/subiquitycore/tests/test_view.py +++ b/subiquitycore/tests/test_view.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import urwid diff --git a/subiquitycore/tests/util.py b/subiquitycore/tests/util.py index ab2b1a83..f000886d 100644 --- a/subiquitycore/tests/util.py +++ b/subiquitycore/tests/util.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import random diff --git a/subiquitycore/tui.py b/subiquitycore/tui.py index 0ce9b3be..5c24b399 100644 --- a/subiquitycore/tui.py +++ b/subiquitycore/tui.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/tuicontroller.py b/subiquitycore/tuicontroller.py index 777739ed..06711ffe 100644 --- a/subiquitycore/tuicontroller.py +++ b/subiquitycore/tuicontroller.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/ui/__init__.py b/subiquitycore/ui/__init__.py index ed2c4c08..5ec0dc82 100644 --- a/subiquitycore/ui/__init__.py +++ b/subiquitycore/ui/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Subiquity UI Components """ diff --git a/subiquitycore/ui/actionmenu.py b/subiquitycore/ui/actionmenu.py index 861ff69f..f6cea7e2 100644 --- a/subiquitycore/ui/actionmenu.py +++ b/subiquitycore/ui/actionmenu.py @@ -1,16 +1,15 @@ # Copyright 2018 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import attr diff --git a/subiquitycore/ui/anchors.py b/subiquitycore/ui/anchors.py index edc91fb2..9a514a79 100644 --- a/subiquitycore/ui/anchors.py +++ b/subiquitycore/ui/anchors.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/subiquitycore/ui/buttons.py b/subiquitycore/ui/buttons.py index 42917602..25c1e19c 100644 --- a/subiquitycore/ui/buttons.py +++ b/subiquitycore/ui/buttons.py @@ -1,16 +1,15 @@ # Copyright 2017 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from urwid import AttrMap, Button, Text diff --git a/subiquitycore/ui/confirmation.py b/subiquitycore/ui/confirmation.py index 34b2a97f..0c0febe5 100644 --- a/subiquitycore/ui/confirmation.py +++ b/subiquitycore/ui/confirmation.py @@ -1,16 +1,15 @@ # Copyright 2023 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from typing import Callable diff --git a/subiquitycore/ui/container.py b/subiquitycore/ui/container.py index ed915cb1..6ec18083 100644 --- a/subiquitycore/ui/container.py +++ b/subiquitycore/ui/container.py @@ -1,16 +1,15 @@ # Portions Copyright 2017 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . # This is adapted from diff --git a/subiquitycore/ui/form.py b/subiquitycore/ui/form.py index ad248dad..92bc75dd 100644 --- a/subiquitycore/ui/form.py +++ b/subiquitycore/ui/form.py @@ -1,16 +1,15 @@ # Copyright 2017 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import abc diff --git a/subiquitycore/ui/frame.py b/subiquitycore/ui/frame.py index 0e0da083..6ce775bb 100644 --- a/subiquitycore/ui/frame.py +++ b/subiquitycore/ui/frame.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Base Frame Widget """ diff --git a/subiquitycore/ui/interactive.py b/subiquitycore/ui/interactive.py index 5a0c21a9..504e12c0 100644 --- a/subiquitycore/ui/interactive.py +++ b/subiquitycore/ui/interactive.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Re-usable input widgets diff --git a/subiquitycore/ui/selector.py b/subiquitycore/ui/selector.py index aabe73d8..b464d3cf 100644 --- a/subiquitycore/ui/selector.py +++ b/subiquitycore/ui/selector.py @@ -1,16 +1,15 @@ # Copyright 2017 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from urwid import ACTIVATE, AttrWrap, CompositeCanvas, LineBox diff --git a/subiquitycore/ui/spinner.py b/subiquitycore/ui/spinner.py index 5a16065d..d26ab377 100644 --- a/subiquitycore/ui/spinner.py +++ b/subiquitycore/ui/spinner.py @@ -1,16 +1,15 @@ # Copyright 2017 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/ui/stretchy.py b/subiquitycore/ui/stretchy.py index 89af9cc0..b1cd69a4 100644 --- a/subiquitycore/ui/stretchy.py +++ b/subiquitycore/ui/stretchy.py @@ -1,16 +1,15 @@ # Copyright 2018 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """Custom overlay that only takes the space it needs but can still scroll. diff --git a/subiquitycore/ui/table.py b/subiquitycore/ui/table.py index 01c3dd84..0e20e25e 100644 --- a/subiquitycore/ui/table.py +++ b/subiquitycore/ui/table.py @@ -1,16 +1,15 @@ # Copyright 2018 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ diff --git a/subiquitycore/ui/tests/test_form.py b/subiquitycore/ui/tests/test_form.py index 2f49dfb9..87f48d4a 100644 --- a/subiquitycore/ui/tests/test_form.py +++ b/subiquitycore/ui/tests/test_form.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from unittest import TestCase diff --git a/subiquitycore/ui/tests/test_table.py b/subiquitycore/ui/tests/test_table.py index 7baa2245..6f7a1531 100644 --- a/subiquitycore/ui/tests/test_table.py +++ b/subiquitycore/ui/tests/test_table.py @@ -1,16 +1,15 @@ # Copyright 2019 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from collections import defaultdict diff --git a/subiquitycore/ui/utils.py b/subiquitycore/ui/utils.py index 6d0b4c66..6ae9f494 100644 --- a/subiquitycore/ui/utils.py +++ b/subiquitycore/ui/utils.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ UI utilities """ diff --git a/subiquitycore/ui/views/__init__.py b/subiquitycore/ui/views/__init__.py index 8008b43a..56471890 100644 --- a/subiquitycore/ui/views/__init__.py +++ b/subiquitycore/ui/views/__init__.py @@ -1,14 +1,13 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/subiquitycore/ui/views/network.py b/subiquitycore/ui/views/network.py index 27ed0f63..3aa58d09 100644 --- a/subiquitycore/ui/views/network.py +++ b/subiquitycore/ui/views/network.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Network Model diff --git a/subiquitycore/ui/views/network_configure_manual_interface.py b/subiquitycore/ui/views/network_configure_manual_interface.py index 841b6794..200b9a6f 100644 --- a/subiquitycore/ui/views/network_configure_manual_interface.py +++ b/subiquitycore/ui/views/network_configure_manual_interface.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import ipaddress diff --git a/subiquitycore/ui/width.py b/subiquitycore/ui/width.py index a6585d8e..1d70fd69 100644 --- a/subiquitycore/ui/width.py +++ b/subiquitycore/ui/width.py @@ -1,16 +1,15 @@ # Copyright 2018 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import urwid diff --git a/subiquitycore/utils.py b/subiquitycore/utils.py index 89ef1742..5b0588e4 100644 --- a/subiquitycore/utils.py +++ b/subiquitycore/utils.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/subiquitycore/view.py b/subiquitycore/view.py index 993888d5..a1271182 100644 --- a/subiquitycore/view.py +++ b/subiquitycore/view.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ View policy diff --git a/system_setup/__init__.py b/system_setup/__init__.py index 6804d701..e88afe60 100644 --- a/system_setup/__init__.py +++ b/system_setup/__init__.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ Subiquity """ diff --git a/system_setup/__main__.py b/system_setup/__main__.py index 0fcb7c5c..6cf7c1cb 100644 --- a/system_setup/__main__.py +++ b/system_setup/__main__.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import sys diff --git a/system_setup/client/__init__.py b/system_setup/client/__init__.py index 8290406c..d940fe27 100644 --- a/system_setup/client/__init__.py +++ b/system_setup/client/__init__.py @@ -1,14 +1,13 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/system_setup/client/client.py b/system_setup/client/client.py index bec49b20..5b22534d 100644 --- a/system_setup/client/client.py +++ b/system_setup/client/client.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/client/controllers/__init__.py b/system_setup/client/controllers/__init__.py index d243e47b..f78d0e4e 100644 --- a/system_setup/client/controllers/__init__.py +++ b/system_setup/client/controllers/__init__.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/system_setup/client/controllers/identity.py b/system_setup/client/controllers/identity.py index 2965d553..ae11e000 100644 --- a/system_setup/client/controllers/identity.py +++ b/system_setup/client/controllers/identity.py @@ -1,16 +1,15 @@ # Copyright 2015-2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/client/controllers/wslconfadvanced.py b/system_setup/client/controllers/wslconfadvanced.py index 91913ee0..48804d7c 100644 --- a/system_setup/client/controllers/wslconfadvanced.py +++ b/system_setup/client/controllers/wslconfadvanced.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/client/controllers/wslsetupoptions.py b/system_setup/client/controllers/wslsetupoptions.py index c79d8386..1041dd12 100644 --- a/system_setup/client/controllers/wslsetupoptions.py +++ b/system_setup/client/controllers/wslsetupoptions.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/cmd/__init__.py b/system_setup/cmd/__init__.py index 8290406c..d940fe27 100644 --- a/system_setup/cmd/__init__.py +++ b/system_setup/cmd/__init__.py @@ -1,14 +1,13 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/system_setup/cmd/schema.py b/system_setup/cmd/schema.py index c72b5f40..7900bc99 100644 --- a/system_setup/cmd/schema.py +++ b/system_setup/cmd/schema.py @@ -2,16 +2,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/system_setup/cmd/server.py b/system_setup/cmd/server.py index db7bcc70..a39a8dbf 100644 --- a/system_setup/cmd/server.py +++ b/system_setup/cmd/server.py @@ -1,16 +1,15 @@ # Copyright 2020-2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import argparse diff --git a/system_setup/cmd/tui.py b/system_setup/cmd/tui.py index 7ed3818c..e388c30b 100755 --- a/system_setup/cmd/tui.py +++ b/system_setup/cmd/tui.py @@ -2,16 +2,15 @@ # Copyright 2015-2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import argparse diff --git a/system_setup/common/__init__.py b/system_setup/common/__init__.py index 79dc5506..5981cb2b 100644 --- a/system_setup/common/__init__.py +++ b/system_setup/common/__init__.py @@ -1,14 +1,13 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/system_setup/common/wsl_conf.py b/system_setup/common/wsl_conf.py index 2015de53..51bba9f7 100644 --- a/system_setup/common/wsl_conf.py +++ b/system_setup/common/wsl_conf.py @@ -2,16 +2,15 @@ # Copyright 2015-2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . # original code from ubuntuwslctl.core.loader diff --git a/system_setup/common/wsl_utils.py b/system_setup/common/wsl_utils.py index 78b16fd3..6f4a5a5f 100644 --- a/system_setup/common/wsl_utils.py +++ b/system_setup/common/wsl_utils.py @@ -2,16 +2,15 @@ # Copyright 2015-2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import os diff --git a/system_setup/models/__init__.py b/system_setup/models/__init__.py index 8290406c..d940fe27 100644 --- a/system_setup/models/__init__.py +++ b/system_setup/models/__init__.py @@ -1,14 +1,13 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/system_setup/models/system_setup.py b/system_setup/models/system_setup.py index dd9e48e2..721d8b8d 100644 --- a/system_setup/models/system_setup.py +++ b/system_setup/models/system_setup.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/system_setup/models/wslconfadvanced.py b/system_setup/models/wslconfadvanced.py index 4f3c1c7e..b8b91392 100644 --- a/system_setup/models/wslconfadvanced.py +++ b/system_setup/models/wslconfadvanced.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/models/wslconfbase.py b/system_setup/models/wslconfbase.py index 4faf9123..b0240501 100644 --- a/system_setup/models/wslconfbase.py +++ b/system_setup/models/wslconfbase.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/models/wslsetupoptions.py b/system_setup/models/wslsetupoptions.py index 6780d518..7eb2425e 100644 --- a/system_setup/models/wslsetupoptions.py +++ b/system_setup/models/wslsetupoptions.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/server/__init__.py b/system_setup/server/__init__.py index 8290406c..d940fe27 100644 --- a/system_setup/server/__init__.py +++ b/system_setup/server/__init__.py @@ -1,14 +1,13 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/system_setup/server/controllers/__init__.py b/system_setup/server/controllers/__init__.py index 907640e5..7da4675a 100644 --- a/system_setup/server/controllers/__init__.py +++ b/system_setup/server/controllers/__init__.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from subiquity.server.controllers.cmdlist import ( diff --git a/system_setup/server/controllers/configure.py b/system_setup/server/controllers/configure.py index 24b970b7..23381603 100644 --- a/system_setup/server/controllers/configure.py +++ b/system_setup/server/controllers/configure.py @@ -1,16 +1,15 @@ # Copyright 2020 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import asyncio diff --git a/system_setup/server/controllers/identity.py b/system_setup/server/controllers/identity.py index 2def648a..fc648451 100644 --- a/system_setup/server/controllers/identity.py +++ b/system_setup/server/controllers/identity.py @@ -1,16 +1,15 @@ # Copyright 2015 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/server/controllers/locale.py b/system_setup/server/controllers/locale.py index 14034050..7ea055ac 100644 --- a/system_setup/server/controllers/locale.py +++ b/system_setup/server/controllers/locale.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/server/controllers/shutdown.py b/system_setup/server/controllers/shutdown.py index f30d86ca..c738a9c6 100644 --- a/system_setup/server/controllers/shutdown.py +++ b/system_setup/server/controllers/shutdown.py @@ -1,16 +1,15 @@ # Copyright 2020-2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import enum diff --git a/system_setup/server/controllers/wslconfadvanced.py b/system_setup/server/controllers/wslconfadvanced.py index e229c02e..91985901 100644 --- a/system_setup/server/controllers/wslconfadvanced.py +++ b/system_setup/server/controllers/wslconfadvanced.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/server/controllers/wslconfbase.py b/system_setup/server/controllers/wslconfbase.py index 5070468f..e779116b 100644 --- a/system_setup/server/controllers/wslconfbase.py +++ b/system_setup/server/controllers/wslconfbase.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/server/controllers/wslsetupoptions.py b/system_setup/server/controllers/wslsetupoptions.py index 20baee3d..187248fe 100644 --- a/system_setup/server/controllers/wslsetupoptions.py +++ b/system_setup/server/controllers/wslsetupoptions.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/server/server.py b/system_setup/server/server.py index 6f977f6c..571bbbba 100644 --- a/system_setup/server/server.py +++ b/system_setup/server/server.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import logging diff --git a/system_setup/ui/__init__.py b/system_setup/ui/__init__.py index 8290406c..d940fe27 100644 --- a/system_setup/ui/__init__.py +++ b/system_setup/ui/__init__.py @@ -1,14 +1,13 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . diff --git a/system_setup/ui/views/__init__.py b/system_setup/ui/views/__init__.py index 87cf2845..e007f749 100644 --- a/system_setup/ui/views/__init__.py +++ b/system_setup/ui/views/__init__.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . from .identity import WSLIdentityView diff --git a/system_setup/ui/views/identity.py b/system_setup/ui/views/identity.py index ad3d72e2..ee5eee3f 100644 --- a/system_setup/ui/views/identity.py +++ b/system_setup/ui/views/identity.py @@ -1,16 +1,15 @@ # Copyright 2021 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . import os diff --git a/system_setup/ui/views/wslsetupoptions.py b/system_setup/ui/views/wslsetupoptions.py index a351b7a7..85e62a5c 100644 --- a/system_setup/ui/views/wslsetupoptions.py +++ b/system_setup/ui/views/wslsetupoptions.py @@ -1,16 +1,15 @@ # Copyright 2022 Canonical, Ltd. # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . """ WSLSetupOptions