mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-12 00:23:12 +00:00
log message formatting
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2609 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
e697b7a3ce
commit
4c270cfe74
1 changed files with 2 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ class Cache (linkcheck.lock.AssertLock):
|
|||
output = []
|
||||
for h in headers.getallmatchingheaders("Set-Cookie"):
|
||||
output.append(h)
|
||||
linkcheck.log.debug(linkcheck.LOG_CACHE, "Store Cookie %s", h)
|
||||
linkcheck.log.debug(linkcheck.LOG_CACHE, "Store cookie %s", h)
|
||||
c = self.cookies.setdefault(host, Cookie.SimpleCookie())
|
||||
c.load(h)
|
||||
return output
|
||||
|
|
@ -291,7 +291,7 @@ class Cache (linkcheck.lock.AssertLock):
|
|||
self.acquire()
|
||||
try:
|
||||
linkcheck.log.debug(linkcheck.LOG_CACHE,
|
||||
"Get Cookie %s (%s)", host, path)
|
||||
"Get cookies for host %r path %r", host, path)
|
||||
if not self.cookies.has_key(host):
|
||||
return []
|
||||
cookievals = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue