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:
calvin 2000-07-13 18:49:19 +00:00
parent 3b22926b57
commit be20608db7
2 changed files with 3 additions and 1 deletions

View file

@ -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]),

View file

@ -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"]):