From: Ian Jackson Date: Sun, 30 Oct 2011 13:32:58 +0000 (+0000) Subject: yoweb-scrape: print need_wait with %f X-Git-Tag: 6.8.3~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=commitdiff_plain;h=4ffde0f1516cfb48af7242ece19c741372170a67 yoweb-scrape: print need_wait with %f --- diff --git a/yoweb-scrape b/yoweb-scrape index 2bcd518..b4a5d63 100755 --- a/yoweb-scrape +++ b/yoweb-scrape @@ -173,7 +173,7 @@ class Fetcher: def _rate_limit_cache_clean(self, now): need_wait = self.need_wait(now) if need_wait > 0: - debug('Fetcher wait %d' % need_wait) + debug('Fetcher wait %f' % need_wait) sleep(need_wait) def fetch(self, url, max_age):