Author: poeml Date: Fri Aug 21 21:53:58 2009 New Revision: 7769 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7769&view=rev Log: mb export: - when writing a mirror list for mirmon, hide disabled mirrors Modified: trunk/mirrordoctor/mirrordoctor.py Modified: trunk/mirrordoctor/mirrordoctor.py URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mirrordoctor.py?rev=7769&r1=7768&r2=7769&view=diff ============================================================================== --- trunk/mirrordoctor/mirrordoctor.py (original) +++ trunk/mirrordoctor/mirrordoctor.py Fri Aug 21 21:53:58 2009 @@ -1009,7 +1009,7 @@ @cmdln.option('--project', metavar='PROJECT', - help='Specify a project name (previously corresponding to a MirrorBrain instance).') + help='(only for django format) Specify a project name (previously corresponding to a MirrorBrain instance).') @cmdln.option('--commit', metavar='VCS', help='run "VCS commit" on the directory specified via --target-dir') @cmdln.option('--target-dir', metavar='PATH', @@ -1105,6 +1105,8 @@ print mb.exports.postgresql_template % d elif opts.format == 'mirmon': + if not m.enabled: + continue for proto, urlname in [('http', 'baseurl'), ('ftp', 'baseurlFtp'), ('rsync', 'baseurlRsync')]: _______________________________________________ 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 Fri Aug 21 2009 - 19:53:59 GMT
This archive was generated by hypermail 2.2.0 : Fri Aug 21 2009 - 20:45:06 GMT