Fix inconsistency in --version in regards to copyright headers
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
9efcd3a842
commit
b4749fad3e
@ -10,7 +10,7 @@ import os
|
|||||||
|
|
||||||
__author__ = "Corentin Chary (iksaif)"
|
__author__ = "Corentin Chary (iksaif)"
|
||||||
__email__ = "corentin.chary@gmail.com"
|
__email__ = "corentin.chary@gmail.com"
|
||||||
__productname__ = "euscan"
|
__productname__ = "euscan-ng"
|
||||||
__description__ = "A tool to detect new upstream releases."
|
__description__ = "A tool to detect new upstream releases."
|
||||||
|
|
||||||
|
|
||||||
@ -59,10 +59,10 @@ def setup_signals():
|
|||||||
|
|
||||||
def print_version():
|
def print_version():
|
||||||
"""Output the version info."""
|
"""Output the version info."""
|
||||||
print("%s (%s) - %s" % (__productname__, __version__, __description__))
|
print(f"{__productname__} ({__version__}) - {__description__}")
|
||||||
print()
|
print()
|
||||||
print("Author: %s <%s>" % (__author__, __email__))
|
print(f"Copyright 2011 {__author__} <{__email__}>")
|
||||||
print("Copyright 2011 Gentoo Foundation")
|
print("Copyright 2020-2023 src_prepare group")
|
||||||
print("Distributed under the terms of the GNU General Public License v2")
|
print("Distributed under the terms of the GNU General Public License v2")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user