check-mirrors check-mirrors.py,1.8,1.9

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Wed Jul 12 12:45:57 UTC 2006


Author: skvidal

Update of /cvs/fedora/check-mirrors
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1707

Modified Files:
	check-mirrors.py 
Log Message:

add some debug strings



Index: check-mirrors.py
===================================================================
RCS file: /cvs/fedora/check-mirrors/check-mirrors.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- check-mirrors.py	11 Jul 2006 20:17:58 -0000	1.8
+++ check-mirrors.py	12 Jul 2006 12:45:54 -0000	1.9
@@ -354,11 +354,12 @@
             for m in mirrors:
                 if m.timestamps.has_key(arch):
                     if m.timestamps[arch] == canon.timestamps[arch]:
+                        if debug: print 'adding %s' % m.url
                         glob_urls.append(m.url)
                     if m.country:
                         if not country_specific.has_key(m.country):
                             country_specific[m.country] = []
-                            
+                        if debug: print 'adding to %s: %s' % (m.country, m.url)
                         country_specific[m.country].append(m.url)
                     
             global_file = '%s/%s-global-%s.txt' % (s.outputpath, s.mirrorid, arch)




More information about the fedora-extras-commits mailing list