activate asset

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3448 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-09-15 20:21:06 +00:00
parent fcd00abc75
commit 86514bb882

View file

@ -643,7 +643,7 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
_user, _password = self.get_user_password()
key = ("http", self.urlparts[1], _user, _password)
if self.persistent:
#assert self.url_connection.is_idle(), str(self)
assert self.url_connection.is_idle(), str(self)
cache_add = self.aggregate.connections.add
cache_add(key, self.url_connection, self.timeout)
else: