From 6a48344a983b6d6b0126c607ba9572d34091712b Mon Sep 17 00:00:00 2001 From: James Vega Date: Tue, 13 Jan 2004 02:48:25 +0000 Subject: [PATCH] I don't know why I named it _res in the first place. --- plugins/Sourceforge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Sourceforge.py b/plugins/Sourceforge.py index 17d838fae..7a23b6352 100644 --- a/plugins/Sourceforge.py +++ b/plugins/Sourceforge.py @@ -113,7 +113,7 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp, configurable.Mixin): _submitted = re.compile(r'(Submitted By):
([^<]+)', _reopts) _priority = re.compile(r'(Priority): (.+?)', _reopts) _status = re.compile(r'(Status): (.+?)', _reopts) - _res =(_resolution, _assigned, _submitted, _priority, _status) + _regexps =(_resolution, _assigned, _submitted, _priority, _status) configurables = configurable.Dictionary( [('tracker-snarfer', configurable.BoolType, False, @@ -311,7 +311,7 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp, configurable.Mixin): resp.append(desc) else: self.log.warning('Invalid Tracker page snarfed: %s', url) - for r in self._res: + for r in self._regexps: m = r.search(s) if m: resp.append('%s: %s' % self._bold(m.groups()))