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) @@ -183,6 +183,9 @@ print s + @cmdln.option('--other-countries', action='store_true', + help='also display other countries that ' + 'a mirror is configured to handle') @cmdln.option('--country', action='store_true', help='also display the country') @cmdln.option('--region', action='store_true', @@ -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 2009-07-10Z14:37:37
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:20:16 GMT