summaryrefslogtreecommitdiff
path: root/scripts/rankmirrors.py.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-06 19:35:32 -0400
committerDan McGee <dan@archlinux.org>2007-07-06 19:35:32 -0400
commita501b72e40062c9e606a787657582d1859c35d35 (patch)
treebea93688780e947a7531c1e8bbb979b1ba917448 /scripts/rankmirrors.py.in
parentb5f8a44bebc906bf6a29d30c159802b0c1a7dbb1 (diff)
downloadpacman-a501b72e40062c9e606a787657582d1859c35d35.tar.xz
Make paragraph text in scripts single strings
It is much easier for translators to deal with paragraphs as strings rather than by lines. Take all usage and version information and convert it to this format. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/rankmirrors.py.in')
-rw-r--r--scripts/rankmirrors.py.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/rankmirrors.py.in b/scripts/rankmirrors.py.in
index 2b284efe..b68bc548 100644
--- a/scripts/rankmirrors.py.in
+++ b/scripts/rankmirrors.py.in
@@ -3,8 +3,7 @@
# rankmirrors - read a list of mirrors from a file and rank them by speed
# @configure_input@
#
-# Original Idea copyright (c) 2006 R.G. <chesercat>
-# Modified 2006 by Dan McGee <dan@archlinux.org>
+# Copyright (c) 2002-2007 by Judd Vinet <jvinet@zeroflux.org>
#
# 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
@@ -26,7 +25,10 @@ from optparse import OptionParser
def createOptParser():
usage = "usage: %prog [options] MIRRORFILE | URL"
- version = '%prog (pacman) @PACKAGE_VERSION@'
+ version = "%prog (pacman) @PACKAGE_VERSION@\n" \
+ "Copyright (C) 2002-2007 Judd Vinet <jvinet@zeroflux.org>.\n\n" \
+ "This is free software; see the source for copying conditions.\n" \
+ "There is NO WARRANTY, to the extent permitted by law."
description = "Ranks pacman mirrors by their connection and opening " \
"speed. Pacman mirror files are located in /etc/pacman.d/. It " \
"can also rank one mirror if the URL is provided."