aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-06-30 07:23:47 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-06-30 07:23:47 +0900
commitebbba51bb4f2bb4f25ba2525a9959da8042f85c9 (patch)
tree7e6332724ae5072f593656c42ccffc5b4c7aaa77 /elivepatch_server
parentremoved not used import (diff)
downloadelivepatch-ebbba51bb4f2bb4f25ba2525a9959da8042f85c9.tar.gz
elivepatch-ebbba51bb4f2bb4f25ba2525a9959da8042f85c9.tar.bz2
elivepatch-ebbba51bb4f2bb4f25ba2525a9959da8042f85c9.zip
Copyright fix to GPLv2+
Diffstat (limited to 'elivepatch_server')
-rw-r--r--elivepatch_server/elivepatch5
-rw-r--r--elivepatch_server/resources/AgentInfo.py19
-rw-r--r--elivepatch_server/resources/dispatcher.py18
-rw-r--r--elivepatch_server/resources/livepatch.py17
-rw-r--r--elivepatch_server/setup.py2
5 files changed, 16 insertions, 45 deletions
diff --git a/elivepatch_server/elivepatch b/elivepatch_server/elivepatch
index 827960e..99a1d94 100644
--- a/elivepatch_server/elivepatch
+++ b/elivepatch_server/elivepatch
@@ -1,6 +1,9 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
# (c) 2017, Alice Ferrazzi <alice.ferrazzi@gmail.com>
-# Distributed under the terms of the GNU General Public License v2
+# Distributed under the terms of the GNU General Public License v2 or later
+
from flask import Flask, jsonify, abort, make_response
from flask_restful import Api, Resource, reqparse, fields, marshal
diff --git a/elivepatch_server/resources/AgentInfo.py b/elivepatch_server/resources/AgentInfo.py
index b8f08a5..00be63f 100644
--- a/elivepatch_server/resources/AgentInfo.py
+++ b/elivepatch_server/resources/AgentInfo.py
@@ -1,19 +1,8 @@
-# (c) 2015, Alice Ferrazzi <alice.ferrazzi@gmail.com>
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
#
-# This file is part of elivepatch
-#
-# elivepatch is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# elivepatch 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 General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with elivepatch. If not, see <http://www.gnu.org/licenses/>.
+# (c) 2017, Alice Ferrazzi <alice.ferrazzi@gmail.com>
+# Distributed under the terms of the GNU General Public License v2 or later
from flask import Flask, jsonify, abort, make_response
from flask_restful import Api, Resource, reqparse, fields, marshal
diff --git a/elivepatch_server/resources/dispatcher.py b/elivepatch_server/resources/dispatcher.py
index 8fcb2ae..f1bc926 100644
--- a/elivepatch_server/resources/dispatcher.py
+++ b/elivepatch_server/resources/dispatcher.py
@@ -1,19 +1,9 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
-#################################################################################
-# ELIVEPATCH SERVER DISPATCHER
-#################################################################################
-# File: cli.py
-#
-# Handles elivepatch actions via the command line interface.
-#
-# Copyright:
-# (c) 2017 Alice Ferrazzi
-# Distributed under the terms of the GNU General Public License v2
-#
-# Author(s):
-# Alice Ferrazzi <alicef@gentoo.org>
#
+# (c) 2017, Alice Ferrazzi <alice.ferrazzi@gmail.com>
+# Distributed under the terms of the GNU General Public License v2 or later
+
from flask import Flask, jsonify, abort, make_response
from flask_restful import Api, Resource, reqparse, fields, marshal
diff --git a/elivepatch_server/resources/livepatch.py b/elivepatch_server/resources/livepatch.py
index c22de16..f4ed849 100644
--- a/elivepatch_server/resources/livepatch.py
+++ b/elivepatch_server/resources/livepatch.py
@@ -1,19 +1,8 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
-#################################################################################
-# ELIVEPATCH SERVER LIVEPATCH
-#################################################################################
-# File: livepatch.py
-#
-# Handles elivepatch actions via the command line interface.
-#
-# Copyright:
-# (c) 2017 Alice Ferrazzi
-# Distributed under the terms of the GNU General Public License v2
-#
-# Author(s):
-# Alice Ferrazzi <alicef@gentoo.org>
#
+# (c) 2017, Alice Ferrazzi <alice.ferrazzi@gmail.com>
+# Distributed under the terms of the GNU General Public License v2 or later
import subprocess
import os
diff --git a/elivepatch_server/setup.py b/elivepatch_server/setup.py
index 13b2378..6de3be4 100644
--- a/elivepatch_server/setup.py
+++ b/elivepatch_server/setup.py
@@ -7,6 +7,6 @@ setup(
url='https://gentoo.org',
author='Alice Ferrazzi',
author_email='alice.ferrazzi@gmail.com',
- license='GNU GPLv2',
+ license='GNU GPLv2+',
packages=find_packages(),
)