log and cache invalid syntax urls

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1488 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-08-25 18:24:59 +00:00
parent e3af24186b
commit 605cd63c7d

View file

@ -84,6 +84,8 @@ class Consumer (object):
# check syntax
if not url_data.check_syntax():
# wrong syntax, do not check any further
self.logger_new_url(url_data)
self.cache.url_data_cache_add(url_data)
return
# check the cache
if self.cache.check_cache(url_data):