[mirrorbrain-commits] r7904 - /trunk/mirrordoctor/mb/testmirror.py

From: <poeml_at_mirrorbrain.org>
Date: Sat, 05 Dec 2009 12:17:54 -0000
Author: poeml
Date: Sat Dec  5 13:17:53 2009
New Revision: 7904

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7904&view=rev
Log:
mb scan:
- when using the FTP protocol for probing for a file or directory, the wrong
  use of a variable let the result always be negative. This affected
  subdirectory scans (using "mb scan -d path/to/dir"), which would igore some
  mirrors.

Modified:
    trunk/mirrordoctor/mb/testmirror.py

Modified: trunk/mirrordoctor/mb/testmirror.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mb/testmirror.py?rev=7904&r1=7903&r2=7904&view=diff
==============================================================================
--- trunk/mirrordoctor/mb/testmirror.py (original)
+++ trunk/mirrordoctor/mb/testmirror.py Sat Dec  5 13:17:53 2009
_at_@ -83,9 +83,9 @@
                 out = ''
 
             if len(out):
-                has_file = True
+                S.has_file = True
             else:
-                has_file = False
+                S.has_file = False
 
         return 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.org
Received on Sat Dec 05 2009 - 12:17:55 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT