Author: poeml Date: 2009-07-10 08:36:49 -0600 (Fri, 10 Jul 2009) New Revision: 7693 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py Log: mb list: - add --other-countries option to allow displaying the countries that a mirror is configured to handle in addition to its own country Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-07-10 14:20:02 UTC (rev 7692) +++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-07-10 14:36:49 UTC (rev 7693) _at_@ -183,6 +183,9 @@ print s + _at_cmdln.option('--other-countries', action='store_true', + help='also display other countries that ' + 'a mirror is configured to handle') _at_cmdln.option('--country', action='store_true', help='also display the country') _at_cmdln.option('--region', action='store_true', _at_@ -228,6 +231,8 @@ s.append('%2s' % mirror.region) if opts.country: s.append('%2s' % mirror.country) + if opts.other_countries: + s.append('%2s' % mirror.otherCountries) if opts.asn: s.append('%5s' % mirror.asn) if opts.prefix: _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Fri Jul 10 2009 - 14:37:37 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT