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) _at_@ -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)) _at_@ -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 Wed Feb 25 2009 - 00:22:38 GMT
This archive was generated by hypermail 2.3.0 : Thu Mar 25 2010 - 19:18:16 GMT