Author: lrupp Date: 2009-06-05 05:30:15 -0600 (Fri, 05 Jun 2009) New Revision: 7501 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py Log: - opts.as is reserved in newer python versions Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-06-05 11:29:11 UTC (rev 7500) +++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-06-05 11:30:15 UTC (rev 7501) _at_@ -189,7 +189,7 @@ help='also display the region') _at_cmdln.option('--prefix', action='store_true', help='also display the network prefix') - _at_cmdln.option('--as', action='store_true', + _at_cmdln.option('--asn', action='store_true', help='also display the AS') _at_cmdln.option('--prio', action='store_true', help='also display priorities') _at_@ -228,7 +228,7 @@ s.append('%2s' % mirror.region) if opts.country: s.append('%2s' % mirror.country) - if opts.as: + if opts.asn: s.append('%5s' % mirror.asn) if opts.prefix: s.append('%-19s' % mirror.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 Jun 05 2009 - 11:30:49 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT