From 4186169edf04da480eebad408b9ccdfd7dbb8517 Mon Sep 17 00:00:00 2001 From: calvin Date: Fri, 2 Aug 2002 11:07:38 +0000 Subject: [PATCH] fix meta matcher var git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@491 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/UrlData.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linkcheck/UrlData.py b/linkcheck/UrlData.py index 50cb6952..b257a6f0 100644 --- a/linkcheck/UrlData.py +++ b/linkcheck/UrlData.py @@ -501,9 +501,9 @@ class UrlData: # strip quotes url = StringUtil.stripQuotes(match.group('value')) if 'meta' in pattern['tags']: - match = _refresh_re.match(url) - if match: - url = match.group("url") + metamatch = _refresh_re.match(url) + if metamatch: + url = metamatch.group("url") # need to resolve HTML entities url = StringUtil.unhtmlify(url) lineno= StringUtil.getLineNumber(self.getContent(), match.start())