do not add aliases that are in-progress

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2491 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-03-29 20:37:06 +00:00
parent 5b64583904
commit bfe3f4cd4d

View file

@ -200,7 +200,7 @@ class Cache (linkcheck.lock.AssertLock):
self.checked[key] = data
# add all aliases also to checked cache to avoid recursion
for key in url_data.aliases:
if key not in self.checked:
if key not in self.checked and key not in self.in_progress:
linkcheck.log.debug(linkcheck.LOG_CACHE,
"Cache alias %r...", key)
self.checked[key] = data