[mirrorbrain-commits] r8037 - /trunk/mirrordoctor/mirrordoctor.py

From: <poeml_at_mirrorbrain.org>
Date: Mon, 19 Apr 2010 21:49:56 -0000
Author: poeml
Date: Mon Apr 19 23:49:55 2010
New Revision: 8037

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8037&view=rev
Log:
mb list:
- mb list <mirror identifier> did not work due to a missing module import in
  the Python script

Modified:
    trunk/mirrordoctor/mirrordoctor.py

Modified: trunk/mirrordoctor/mirrordoctor.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mirrordoctor.py?rev=8037&r1=8036&r2=8037&view=diff
==============================================================================
--- trunk/mirrordoctor/mirrordoctor.py (original)
+++ trunk/mirrordoctor/mirrordoctor.py Mon Apr 19 23:49:55 2010
_at_@ -263,6 +263,7 @@
         elif opts.r:
             mirrors = self.conn.Server.select("""region LIKE '%%%s%%'""" % opts.r)
         elif args:
+            import mb.conn
             mirrors = mb.conn.servers_match(self.conn.Server, args[0])
         else:
             mirrors = self.conn.Server.select()




_______________________________________________
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 Mon Apr 19 2010 - 21:49:57 GMT

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