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) @@ -189,7 +189,7 @@ help='also display the region') @cmdln.option('--prefix', action='store_true', help='also display the network prefix') - @cmdln.option('--as', action='store_true', + @cmdln.option('--asn', action='store_true', help='also display the AS') @cmdln.option('--prio', action='store_true', help='also display priorities') @@ -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 2009-06-05Z11:30:49
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:13 GMT