make non-debug messages less noisy

This commit is contained in:
Warren Togami 2007-07-12 13:24:23 -04:00
parent 83e535b09e
commit 94a6f22f09

View file

@ -91,9 +91,9 @@ while True:
url = BASE1 + path + '/repodata/repomd.xml' url = BASE1 + path + '/repodata/repomd.xml'
hash = hash_url(url) hash = hash_url(url)
if hash != DIRDICT[path]: if hash != DIRDICT[path]:
print "CHANGE %s" % url debug("CHANGE %s" % url)
print " %s" % DIRDICT[path] debug(" %s" % DIRDICT[path])
print " %s" % hash debug(" %s" % hash)
print 'REFRESHING ' + BASE2 + path print 'REFRESHING ' + BASE2 + path
# if hash changes, refresh repodata on proxy server # if hash changes, refresh repodata on proxy server
refresh_repodata(path) refresh_repodata(path)