Author: poeml Date: 2009-02-24 17:22:17 -0700 (Tue, 24 Feb 2009) New Revision: 6569 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py Log: mb scan: - pick up a new option named scan_top_include from /etc/mirrorbrain.conf and pass it to the scanner Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-02-25 00:21:04 UTC (rev 6568) +++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-02-25 00:22:17 UTC (rev 6569) @@ -603,6 +603,10 @@ else: cmd += '-f ' + scan_top_include = self.config.dbconfig.get('scan_top_include', '').split() + for i in scan_top_include: + cmd += '-I %s ' % i + mirrors = [] for arg in args: mirrors.append(lookup_mirror(self, arg)) @@ -611,7 +615,7 @@ if self.options.debug: print cmd - + rc = os.system(cmd) if opts.enable and rc == 0: _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on 2009-02-25Z00:22:38
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:11 GMT