[mirrorbrain-commits] [opensuse-svn] r6933 - trunk/tools/download-redirector-v2/mirrordoctor

From: Novell Forge SVN <noreply_at_novell.com>
Date: Fri, 27 Mar 2009 10:54:29 -0600 (MDT)
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)
_at_@ -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.org
Received on Fri Mar 27 2009 - 16:55:22 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT