Author: poeml Date: 2009-03-27 10:54:27 -0600 (Fri, 27 Mar 2009) New Revision: 6933 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py Log: mb list: fix using the country and region options when listing mirrors, which broke with r6738 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-03-27 16:39:16 UTC (rev 6932) +++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-03-27 16:54:27 UTC (rev 6933) @@ -209,9 +209,9 @@ ${cmd_option_list} """ if opts.c: - mirrors = self.conn.Server.select("""country LIKE '%%%s%%'""" % opts.country) + mirrors = self.conn.Server.select("""country LIKE '%%%s%%'""" % opts.c) elif opts.r: - mirrors = self.conn.Server.select("""region LIKE '%%%s%%'""" % opts.region) + mirrors = self.conn.Server.select("""region LIKE '%%%s%%'""" % opts.r) elif args: mirrors = mb.conn.servers_match(self.conn.Server, args[0]) else: _______________________________________________ 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-27Z16:55:22
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:12 GMT