Author: poeml Date: Mon Oct 4 00:30:30 2010 New Revision: 8177 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8177&view=rev Log: mb scan --enable: - When enabling a mirror after successful scanning, set both statusBaseurl = 1 and enabled = 1. The latter wasn't done before. Modified: trunk/mb/mb.py Modified: trunk/mb/mb.py URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mb/mb.py?rev=8177&r1=8176&r2=8177&view=diff ============================================================================== --- trunk/mb/mb.py (original) +++ trunk/mb/mb.py Mon Oct 4 00:30:30 2010 _at_@ -875,6 +875,7 @@ t = mb.testmirror.access_http(mirror.identifier, mirror.baseurl) if t.http_code == 200: mirror.statusBaseurl = 1 + mirror.enabled = 1 print '%s %s: OK. Mirror is online now.' % (tt, mirror.identifier) else: print '%s %s: Error: base URL does not work: %s' \ _______________________________________________ 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 Sun Oct 03 2010 - 22:30:32 GMT
This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT