mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-01 19:34:43 +00:00
extern configfile bugfix
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@134 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
3b22926b57
commit
be20608db7
2 changed files with 3 additions and 1 deletions
|
|
@ -496,8 +496,9 @@ class Configuration(UserDict.UserDict):
|
|||
|
||||
section = "filtering"
|
||||
try:
|
||||
i=1
|
||||
i=0
|
||||
while 1:
|
||||
i = i + 1
|
||||
tuple = string.split(cfgparser.get(section, "extern"+`i`))
|
||||
if len(tuple)!=2: break
|
||||
self.data["externlinks"].append((re.compile(tuple[0]),
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ class UrlData:
|
|||
|
||||
|
||||
def logMe(self, config):
|
||||
Config.debug("DEBUG: logging url\n")
|
||||
config.incrementLinknumber()
|
||||
if config["verbose"] or not self.valid or \
|
||||
(self.warningString and config["warnings"]):
|
||||
|
|
|
|||
Loading…
Reference in a new issue