From 2808aa6524f5f45f73e4c5df73f37ecdb3653489 Mon Sep 17 00:00:00 2001 From: Leif Walsh Date: Sat, 14 Jan 2023 05:07:25 -0500 Subject: [PATCH] Fix license headers in source files (#192) Co-authored-by: Sorin Sbarnea fixes https://github.com/pycontribs/ansi2html/issues/188 --- ansi2html/converter.py | 16 ++++++++-------- ansi2html/style.py | 16 ++++++++-------- tests/test_ansi2html.py | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/ansi2html/converter.py b/ansi2html/converter.py index 8e7a306..70e2925 100644 --- a/ansi2html/converter.py +++ b/ansi2html/converter.py @@ -6,19 +6,19 @@ # # Inspired by and developed off of the work by pixelbeat and blackjack. # -# 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 free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser 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. +# Lesser 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 -# . +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. import io import optparse diff --git a/ansi2html/style.py b/ansi2html/style.py index 654579e..72a18bd 100644 --- a/ansi2html/style.py +++ b/ansi2html/style.py @@ -2,19 +2,19 @@ # Copyright (C) 2012 Kuno Woudt # Copyright (C) 2013 Sebastian Pipping # -# 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 free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser 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. +# Lesser 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 -# . +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from typing import Dict, List diff --git a/tests/test_ansi2html.py b/tests/test_ansi2html.py index 5015cfd..b06aa51 100644 --- a/tests/test_ansi2html.py +++ b/tests/test_ansi2html.py @@ -7,19 +7,19 @@ # # Inspired by and developed off of the work by pixelbeat and blackjack. # -# 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 free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser 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. +# Lesser 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 -# . +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. import textwrap from io import StringIO