check-mirrors check-mirrors.py,1.19,1.20
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Tue Aug 1 19:31:02 UTC 2006
Author: skvidal
Update of /cvs/fedora/check-mirrors
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22694
Modified Files:
check-mirrors.py
Log Message:
fix the bug florian pointed out
Index: check-mirrors.py
===================================================================
RCS file: /cvs/fedora/check-mirrors/check-mirrors.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- check-mirrors.py 1 Aug 2006 19:24:05 -0000 1.19
+++ check-mirrors.py 1 Aug 2006 19:31:00 -0000 1.20
@@ -453,12 +453,12 @@
if debug: print 'adding %s' % m.url
glob_urls.append(m.url)
goodmirror=1
- if m.country:
- if not country_specific.has_key(m.country):
- country_specific[m.country] = []
- goodmirror=1
- if debug: print 'adding to %s: %s' % (m.country, m.url)
- country_specific[m.country].append(m.url)
+ if m.country:
+ if not country_specific.has_key(m.country):
+ country_specific[m.country] = []
+ goodmirror=1
+ if debug: print 'adding to %s: %s' % (m.country, m.url)
+ country_specific[m.country].append(m.url)
if not goodmirror:
print "Bad: %s, %s, %s, %s" % (s.mirrorid, arch, m.country, m.url)
if not update_db(s.mirrorid, arch, m.country, m.url, '1', dbconn, dbcursor):
More information about the fedora-extras-commits
mailing list