From 2185a223c377628e2179a22cbf1cdfebd804c05c Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Fri, 10 Jan 2020 18:32:30 +0200 Subject: [PATCH] [enh] #58: Add copyright header statements on introduced source files --- duniterpy/api/ws2p/requests.py | 15 +++++++++++++++ duniterpy/documents/ws2p/messages.py | 15 +++++++++++++++ duniterpy/helpers/ws2p.py | 15 +++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/duniterpy/api/ws2p/requests.py b/duniterpy/api/ws2p/requests.py index 425def89..ab826941 100644 --- a/duniterpy/api/ws2p/requests.py +++ b/duniterpy/api/ws2p/requests.py @@ -1,3 +1,18 @@ +""" +This program 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. + +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 General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +""" + import json import re from duniterpy.api.bma.blockchain import BLOCK_SCHEMA, BLOCKS_SCHEMA diff --git a/duniterpy/documents/ws2p/messages.py b/duniterpy/documents/ws2p/messages.py index 8c43877f..3842ca6a 100644 --- a/duniterpy/documents/ws2p/messages.py +++ b/duniterpy/documents/ws2p/messages.py @@ -1,3 +1,18 @@ +""" +This program 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. + +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 General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +""" + import json from typing import Optional diff --git a/duniterpy/helpers/ws2p.py b/duniterpy/helpers/ws2p.py index f2bd09e6..a6d112bc 100644 --- a/duniterpy/helpers/ws2p.py +++ b/duniterpy/helpers/ws2p.py @@ -1,3 +1,18 @@ +""" +This program 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. + +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 General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +""" + import jsonschema from duniterpy.api import ws2p -- GitLab