diff options
Diffstat (limited to 'elivepatch_client/client')
-rw-r--r-- | elivepatch_client/client/__init__.py | 11 | ||||
-rw-r--r-- | elivepatch_client/client/argsparser.py | 6 | ||||
-rw-r--r-- | elivepatch_client/client/checkers.py | 5 | ||||
-rw-r--r-- | elivepatch_client/client/cli.py | 17 | ||||
-rw-r--r-- | elivepatch_client/client/constants.py | 6 | ||||
-rw-r--r-- | elivepatch_client/client/restful.py | 6 | ||||
-rw-r--r-- | elivepatch_client/client/version.py | 16 |
7 files changed, 34 insertions, 33 deletions
diff --git a/elivepatch_client/client/__init__.py b/elivepatch_client/client/__init__.py index 961d1aa..7dcd045 100644 --- a/elivepatch_client/client/__init__.py +++ b/elivepatch_client/client/__init__.py @@ -1,6 +1,9 @@ -""" -elivepatch Gentoo live patcher -""" +#!/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 or later + __version__ = '0.0.1' __author__ = 'Alice Ferrazzi' -__license__ = 'MIT'
\ No newline at end of file +__license__ = 'GPL-2'
\ No newline at end of file diff --git a/elivepatch_client/client/argsparser.py b/elivepatch_client/client/argsparser.py index 1db9d05..0658237 100644 --- a/elivepatch_client/client/argsparser.py +++ b/elivepatch_client/client/argsparser.py @@ -1,5 +1,9 @@ -#!/usr/bin/python +#!/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 or later + import argparse try: diff --git a/elivepatch_client/client/checkers.py b/elivepatch_client/client/checkers.py index 6bbcade..15eda29 100644 --- a/elivepatch_client/client/checkers.py +++ b/elivepatch_client/client/checkers.py @@ -1,4 +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 or later + import os from git import Repo from elivepatch_client.client import restful diff --git a/elivepatch_client/client/cli.py b/elivepatch_client/client/cli.py index 3694845..ce7fde8 100644 --- a/elivepatch_client/client/cli.py +++ b/elivepatch_client/client/cli.py @@ -1,19 +1,8 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- -################################################################################# -# ELIVEPATCH ACTIONS -################################################################################# -# 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 import os, sys from elivepatch_client.client.checkers import CVE diff --git a/elivepatch_client/client/constants.py b/elivepatch_client/client/constants.py index 2d96343..719f254 100644 --- a/elivepatch_client/client/constants.py +++ b/elivepatch_client/client/constants.py @@ -1,5 +1,9 @@ -#!/usr/bin/python +#!/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 or later + from __future__ import unicode_literals diff --git a/elivepatch_client/client/restful.py b/elivepatch_client/client/restful.py index f6ee7f2..60c89a3 100644 --- a/elivepatch_client/client/restful.py +++ b/elivepatch_client/client/restful.py @@ -1,5 +1,9 @@ -#!/usr/bin/python +#!/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 or later + import json, base64 import requests from requests.auth import HTTPBasicAuth diff --git a/elivepatch_client/client/version.py b/elivepatch_client/client/version.py index 7ef7a98..7dac792 100644 --- a/elivepatch_client/client/version.py +++ b/elivepatch_client/client/version.py @@ -1,17 +1,9 @@ -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- -################################################################################# -# ELIVEPATCH_CLIENT VERSION -################################################################################# -# File: version.py -# -# Current version number -# -# Copyright: -# (c) 2017 Alice Ferrazzi <alicef@gentoo.org> -# Distributed under the terms of the GNU General Public License v2 -# # +# (c) 2017, Alice Ferrazzi <alice.ferrazzi@gmail.com> +# Distributed under the terms of the GNU General Public License v2 or later + from __future__ import unicode_literals |