mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-21 22:54:45 +00:00
fix variable typo
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3479 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
e1b2fe298b
commit
2c563d8bae
1 changed files with 3 additions and 3 deletions
|
|
@ -210,7 +210,7 @@ class LCConfigParser (ConfigParser.RawConfigParser, object):
|
|||
"""
|
||||
section = "authentication"
|
||||
try:
|
||||
value = self.get(section, "entry")
|
||||
arg = self.get(section, "entry")
|
||||
for line in arg.splitlines():
|
||||
line = line.strip()
|
||||
if not line or line.startswith('#'):
|
||||
|
|
@ -260,7 +260,7 @@ class LCConfigParser (ConfigParser.RawConfigParser, object):
|
|||
"""
|
||||
section = "filtering"
|
||||
try:
|
||||
value = self.get(section, "nofollow")
|
||||
arg = self.get(section, "nofollow")
|
||||
for line in arg.splitlines():
|
||||
line = line.strip()
|
||||
if not line or line.startswith('#'):
|
||||
|
|
@ -288,7 +288,7 @@ class LCConfigParser (ConfigParser.RawConfigParser, object):
|
|||
except ConfigParser.Error, msg:
|
||||
assert None == linkcheck.log.debug(linkcheck.LOG_CHECK, msg)
|
||||
try:
|
||||
value = self.get(section, "ignore")
|
||||
arg = self.get(section, "ignore")
|
||||
for line in arg.splitlines():
|
||||
line = line.strip()
|
||||
if not line or line.startswith('#'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue