summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/cli.py7
-rw-r--r--cli/objects/client.py7
-rw-r--r--cli/objects/disks.py7
-rw-r--r--cli/objects/images.py7
-rw-r--r--cli/objects/modes.py7
-rw-r--r--cli/objects/poweroff.py7
-rw-r--r--cli/objects/scopes.py7
-rw-r--r--cli/objects/wol.py7
-rw-r--r--cli/utils.py7
9 files changed, 27 insertions, 36 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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 <info@soleta.eu>
+# Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu>
#
# 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'):