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

From: Novell Forge SVN <noreply_at_novell.com>
Date: Sat, 27 Jun 2009 16:46:34 -0600 (MDT)
Author: poeml
Date: 2009-06-27 16:46:32 -0600 (Sat, 27 Jun 2009)
New Revision: 7632

Modified:
   trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py
Log:
mb file ls:
- don't show stale files, that are on no mirror. (They are pending for being
  vacuum cleaned, that they are shown was a regression from the recent "mb file
  ls" rewrite.)


Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py
===================================================================
--- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py	2009-06-27 18:42:20 UTC (rev 7631)
+++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py	2009-06-27 22:46:32 UTC (rev 7632)
_at_@ -853,6 +853,10 @@
 
             try:
                 for row in rows:
+                    if not row['identifier']:
+                        # this is a stale entry, which will be vacuumed out
+                        # next time the vacuumizer runs.
+                        continue
                     print '%s %s %4d %s %s %-30s ' % \
                             (row['region'].lower(), row['country'].lower(),
                              row['score'], 

_______________________________________________
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 Sat Jun 27 2009 - 22:47:01 GMT

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