[mirrorbrain-commits] r7761 - in trunk/mirrordoctor: . mb

From: <poeml_at_mirrorbrain.org>
Date: Thu, 13 Aug 2009 17:35:12 +0200
Author: poeml
Date: Thu Aug 13 17:35:11 2009
New Revision: 7761
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?view=revision&revision=7761

Log:
mb mirrorlist:
- fix bug in feature implemented in r7757 (mirmon config), where the continent
  would be used instead of the country.

Modified:
   trunk/mirrordoctor/mb/exports.py
   trunk/mirrordoctor/mirrordoctor.py

Modified: trunk/mirrordoctor/mb/exports.py
==============================================================================
--- trunk/mirrordoctor/mb/exports.py	Wed Aug 12 20:21:50 2009	(r7760)
+++ trunk/mirrordoctor/mb/exports.py	Thu Aug 13 17:35:11 2009	(r7761)
@@ -58,4 +58,4 @@
 
 """
 
-mirmon_template = """%(proto)s\t%(region)s\t%(url)s\t%(adminEmail)s"""
+mirmon_template = """%(proto)s\t%(country)s\t%(url)s\t%(adminEmail)s"""

Modified: trunk/mirrordoctor/mirrordoctor.py
==============================================================================
--- trunk/mirrordoctor/mirrordoctor.py	Wed Aug 12 20:21:50 2009	(r7760)
+++ trunk/mirrordoctor/mirrordoctor.py	Thu Aug 13 17:35:11 2009	(r7761)
@@ -1113,7 +1113,7 @@
                                 % dict(proto=proto, 
                                        url=d[urlname], 
                                        adminEmail=d['adminEmail'],
-                                       region=d['region'])
+                                       country=d['country'])
 
             elif opts.format == 'vcs':
                 s = mb.conn.server_show_template % mb.conn.server2dict(m)


_______________________________________________
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 Thu Aug 13 2009 - 15:35:13 GMT

This archive was generated by hypermail 2.2.0 : Thu Aug 13 2009 - 15:45:09 GMT