From 98254673742609393d2d023fe464d79342fef2dd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 1 Jun 2021 20:38:11 +0200 Subject: reflector-2021.4.tar.xz --- Reflector.py | 4 ++-- man/reflector.1.gz | Bin 894 -> 892 bytes setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Reflector.py b/Reflector.py index 6dc92b3..532484f 100644 --- a/Reflector.py +++ b/Reflector.py @@ -1126,14 +1126,14 @@ def main(args=None, configure_logging=False): # pylint: disable=too-many-branch if mirrorlist is None: sys.exit('error: no mirrors found') except MirrorStatusError as err: - sys.exit('error: {}\n'.format(err.msg)) + sys.exit(f'error: {err.msg}') if options.save: try: with open(options.save, 'w') as handle: handle.write(mirrorlist) except IOError as err: - sys.exit('error: {}\n'.format(err.strerror)) + sys.exit(f'error: {err.strerror}') else: print(mirrorlist) diff --git a/man/reflector.1.gz b/man/reflector.1.gz index eedef2d..680c67f 100644 Binary files a/man/reflector.1.gz and b/man/reflector.1.gz differ diff --git a/setup.py b/setup.py index 1e76d02..d1a90ed 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import time setup( name='Reflector', - version=time.strftime('%Y.%m.%d.%H.%M.%S', time.gmtime( 1610237194)), + version=time.strftime('%Y.%m.%d.%H.%M.%S', time.gmtime( 1617446608)), description='''A Python 3 module and script to retrieve and filter the latest Pacman mirror list.''', author='Xyne', author_email='ac xunilhcra enyx, backwards', -- cgit v1.2.3-70-g09d2