diff options
Diffstat (limited to 'libre/reflector/rebranding.patch')
-rw-r--r-- | libre/reflector/rebranding.patch | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/libre/reflector/rebranding.patch b/libre/reflector/rebranding.patch index e035cfaae..fff949891 100644 --- a/libre/reflector/rebranding.patch +++ b/libre/reflector/rebranding.patch @@ -1,8 +1,8 @@ diff --git a/Reflector.py b/Reflector.py -index 1665090..045fb94 100644 +index 532484f..f3f1948 100644 --- a/Reflector.py +++ b/Reflector.py -@@ -20,7 +20,7 @@ +@@ -21,7 +21,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ''' @@ -11,7 +11,7 @@ index 1665090..045fb94 100644 ''' import argparse -@@ -49,7 +49,7 @@ import urllib.request +@@ -50,7 +50,7 @@ import urllib.request NAME = 'Reflector' @@ -20,7 +20,7 @@ index 1665090..045fb94 100644 DISPLAY_TIME_FORMAT = '%Y-%m-%d %H:%M:%S UTC' PARSE_TIME_FORMAT = '%Y-%m-%dT%H:%M:%SZ' -@@ -441,7 +441,7 @@ def format_mirrorlist(mirror_status, mtime, include_country=False, command=None, +@@ -598,7 +598,7 @@ def format_mirrorlist( width = 80 colw = 11 @@ -29,7 +29,7 @@ index 1665090..045fb94 100644 border = '#' * len(header) mirrorlist = f'{border}\n{header}\n{border}\n\n' + \ '\n'.join( -@@ -495,8 +495,18 @@ class MirrorStatus(): +@@ -653,8 +653,18 @@ class MirrorStatus(): 'extra', 'gnome-unstable', 'kde-unstable', @@ -49,16 +49,18 @@ index 1665090..045fb94 100644 'staging', 'testing' ) -@@ -656,7 +666,7 @@ def add_arguments(parser): - +@@ -828,8 +838,8 @@ def add_arguments(parser): parser.add_argument( '--cache-timeout', type=int, metavar='n', default=DEFAULT_CACHE_TIMEOUT, -- help='The cache timeout in seconds for the data retrieved from the Arch Linux Mirror Status API. The default is %(default)s.' -+ help='The cache timeout in seconds for the data retrieved from the Parabola GNU/Linux-libre Mirror Status API. The default is %(default)s.' + help=( +- '''The cache timeout in seconds for the data retrieved from the Arch +- Linux Mirror Status API. The default is %(default)s. ''' ++ '''The cache timeout in seconds for the data retrieved from the Parabola ++ GNU/Linux-libre Mirror Status API. The default is %(default)s. ''' + ) ) - parser.add_argument( -@@ -790,7 +800,7 @@ def parse_args(args=None): +@@ -1013,7 +1023,7 @@ def parse_args(args=None): Parse command-line arguments. ''' parser = MyArgumentParser( @@ -68,7 +70,7 @@ index 1665090..045fb94 100644 ) parser = add_arguments(parser) diff --git a/man/reflector.1 b/man/reflector.1 -index d5751eb..665e74b 100644 +index bd818cc..a543e02 100644 --- a/man/reflector.1 +++ b/man/reflector.1 @@ -11,8 +11,8 @@ reflector - retrieve and filter the latest Pacman mirrorlist |