Browse Source

More sensible.

pull/15/head
Ben Kurtovic 10 years ago
parent
commit
503d63a015
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/afc_statistics.py

+ 1
- 1
tasks/afc_statistics.py View File

@@ -520,7 +520,7 @@ class AFCStatistics(Task):
content = res["query"]["pages"].values()[0]["revisions"][0]["*"]
except KeyError:
if tries == 0:
raise KeyError()
raise
sleep(5)
return self._get_revision_content(revid, tries=tries - 1)
self.revision_cache[revid] = content


Loading…
Cancel
Save