chiark
/
gitweb
/
~ijackson
/
ypp-sc-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9244037
)
yoweb-scrape: print need_wait with %f
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2011 13:32:58 +0000
(13:32 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2011 13:32:58 +0000
(13:32 +0000)
yoweb-scrape
patch
|
blob
|
history
diff --git
a/yoweb-scrape
b/yoweb-scrape
index 2bcd518c44d036ad8d990305ab7e03488ba195e5..b4a5d6375f00662866a1a48ad5f71e719ac1e666 100755
(executable)
--- 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):