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

From: <poeml_at_mirrorbrain.org>
Date: Fri, 28 Aug 2009 02:10:22 -0000
Author: poeml
Date: Fri Aug 28 04:10:21 2009
New Revision: 7779

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7779&view=rev
Log:
mb scan:
- fix passing of arguments to the scanner script in the case where the -j
  (--jobs) option was used together with mirror identifier specified on the
  commandline.

Modified:
    trunk/mirrordoctor/mirrordoctor.py

Modified: trunk/mirrordoctor/mirrordoctor.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mirrordoctor.py?rev=7779&r1=7778&r2=7779&view=diff
==============================================================================
--- trunk/mirrordoctor/mirrordoctor.py (original)
+++ trunk/mirrordoctor/mirrordoctor.py Fri Aug 28 04:10:21 2009
@@ -697,7 +697,7 @@
             cmd.append('-d %s' % opts.directory)
         if opts.jobs:
             cmd += [ '-j', opts.jobs ]
-        else:
+        if opts.enable or args:
             cmd.append('-f')
 
         cmd += [ '-I %s' % i for i in 




_______________________________________________
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 Fri Aug 28 2009 - 02:10:24 GMT

This archive was generated by hypermail 2.2.0 : Fri Aug 28 2009 - 02:45:14 GMT