Author: poeml Date: 2009-03-28 05:35:31 -0600 (Sat, 28 Mar 2009) New Revision: 6935 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py Log: mb new: correct the fix from r6934. I lost a bit when I copied it from the machine where it was done. Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-03-27 17:04:53 UTC (rev 6934) +++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-03-28 11:35:31 UTC (rev 6935) @@ -150,7 +150,7 @@ r = mb.asn.iplookup(self.conn, host) asn, prefix = r.asn, r.prefix if not asn: asn = 0 - if not prefix: '' + if not prefix: prefix = '' if opts.region == '--' or opts.country == '--': raise ValueError('Region lookup failed. Use the -c and -r option.') _______________________________________________ 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-03-28Z11:36:26
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:12 GMT