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()))