[mirrorbrain-commits] [opensuse-svn] r7600 - trunk/tools/download-redirector-v2/mirrordoctor

From: Novell Forge SVN <noreply_at_novell.com>
Date: Wed, 24 Jun 2009 08:25:57 -0600 (MDT)
Author: poeml
Date: 2009-06-24 08:25:54 -0600 (Wed, 24 Jun 2009)
New Revision: 7600

Modified:
   trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py
Log:
mb probefile:
- fix displaying the probed URLs (the filename was appended twice)
- improve usage example added in last commit


Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py
===================================================================
--- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py	2009-06-24 14:24:37 UTC (rev 7599)
+++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py	2009-06-24 14:25:54 UTC (rev 7600)
_at_@ -392,7 +392,7 @@
         Examples:
              mb probefile --md5 update/11.0/rpm/i586/insserv-1.11.0-31.2.i586.rpm
              mb probefile distribution/.timestamp --content --urls=http
-             mb probefile distribution/.timestamp --content -m widehat.opensuse.org
+             mb probefile distribution/.timestamp -m widehat.opensuse.org
 
         ${cmd_usage}
         ${cmd_option_list}
_at_@ -426,7 +426,7 @@
                         s = "%d %-30s" % (sample.has_file, sample.identifier)
                         if opts.md5:
                             s += " %-32s" % (sample.digest or '')
-                        s += " %s" % (os.path.join(sample.probeurl, filename))
+                        s += " %s" % sample.probeurl
                         if sample.http_code:
                             s += " http=%s" % (sample.http_code)
                         print s

_______________________________________________
Opensuse-svn mailing list
Opensuse-svn_at_forge.novell.com
http://forge.novell.com/mailman/listinfo/opensuse-svn


_______________________________________________
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 Wed Jun 24 2009 - 14:26:25 GMT

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