From 5f922571e259622fee4266b89c964baa48cc3949 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 14 May 2021 00:26:16 +0200 Subject: ogCLI is AGPLv3+ Update license header in files. --- cli/cli.py | 7 +++---- cli/objects/client.py | 7 +++---- cli/objects/disks.py | 7 +++---- cli/objects/images.py | 7 +++---- cli/objects/modes.py | 7 +++---- cli/objects/poweroff.py | 7 +++---- cli/objects/scopes.py | 7 +++---- cli/objects/wol.py | 7 +++---- cli/utils.py | 7 +++---- ogcli | 7 +++---- 10 files changed, 30 insertions(+), 40 deletions(-) diff --git a/cli/cli.py b/cli/cli.py index 21d69ed..4a1547b 100644 --- a/cli/cli.py +++ b/cli/cli.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2020 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. from cli.objects.client import OgClient from cli.objects.scopes import OgScope diff --git a/cli/objects/client.py b/cli/objects/client.py index bee1ba4..bd84dd8 100644 --- a/cli/objects/client.py +++ b/cli/objects/client.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2020 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. import argparse diff --git a/cli/objects/disks.py b/cli/objects/disks.py index 0aa5a50..064a43e 100644 --- a/cli/objects/disks.py +++ b/cli/objects/disks.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2021 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. import argparse import re diff --git a/cli/objects/images.py b/cli/objects/images.py index ed0d9ac..4383d4c 100644 --- a/cli/objects/images.py +++ b/cli/objects/images.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2021 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. from urllib.parse import urlparse from cli.utils import * diff --git a/cli/objects/modes.py b/cli/objects/modes.py index 84d6f45..e350da7 100644 --- a/cli/objects/modes.py +++ b/cli/objects/modes.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2020 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. from cli.utils import * diff --git a/cli/objects/poweroff.py b/cli/objects/poweroff.py index b4eb81d..f5eb1dd 100644 --- a/cli/objects/poweroff.py +++ b/cli/objects/poweroff.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2021 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. from cli.utils import * diff --git a/cli/objects/scopes.py b/cli/objects/scopes.py index 975b82f..4b8fa95 100644 --- a/cli/objects/scopes.py +++ b/cli/objects/scopes.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2020 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. class OgScope(): diff --git a/cli/objects/wol.py b/cli/objects/wol.py index a3d00d8..5b8e490 100644 --- a/cli/objects/wol.py +++ b/cli/objects/wol.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2021 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. from cli.utils import * diff --git a/cli/utils.py b/cli/utils.py index a69c0cd..9c472c3 100644 --- a/cli/utils.py +++ b/cli/utils.py @@ -1,10 +1,9 @@ -# -# Copyright (C) 2020 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. def scope_lookup(scope_id, scope_type, d): if scope_id == d.get('id') and scope_type == d.get('type'): diff --git a/ogcli b/ogcli index 4c834db..fd6eade 100755 --- a/ogcli +++ b/ogcli @@ -1,12 +1,11 @@ #!/usr/bin/env python3 -# -# Copyright (C) 2020 Soleta Networks +# Copyright (C) 2020-2021 Soleta Networks # # 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, version 3. -# +# Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. from cli.cli import OgCLI import argparse -- cgit v1.2.3-18-g5258