From 2f3fa324f0fa3657f368e7b5c7a4d37e102b0ccc Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 30 Nov 2004 13:58:50 +0000 Subject: [PATCH] Convert some 'text' to 'something' --- plugins/Bugzilla.py | 3 ++- plugins/Debian.py | 3 ++- plugins/Google.py | 7 ++++--- plugins/URL.py | 6 +++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/plugins/Bugzilla.py b/plugins/Bugzilla.py index 26712af24..aa2b4eedb 100644 --- a/plugins/Bugzilla.py +++ b/plugins/Bugzilla.py @@ -337,7 +337,8 @@ class Bugzilla(callbacks.PrivmsgCommandAndRegexp): (utils.nItems('bug', len(bugs)), utils.quoted(searchstr), ' AND '.join(keywords), utils.commaAndify(map(str, bugids))) irc.reply(s) - search = wrap(search, [getopts({'keywords':'text'}), 'something', 'text']) + search = wrap(search, [getopts({'keywords': 'something'}), + 'something', 'text']) def bug(self, irc, msg, args, name, number): """ diff --git a/plugins/Debian.py b/plugins/Debian.py index 5dd83b289..5c0a0b7d0 100644 --- a/plugins/Debian.py +++ b/plugins/Debian.py @@ -284,7 +284,8 @@ class Debian(callbacks.Privmsg, else: irc.reply(utils.commaAndify(packages)) incoming = thread(wrap(incoming, - [getopts({'regexp':'regexpMatcher', 'arch':'text'}), + [getopts({'regexp': 'regexpMatcher', + 'arch': 'something'}), any('glob')])) _newpkgre = re.compile(r'
  • ]+>([^<]+)') diff --git a/plugins/Google.py b/plugins/Google.py index 92bc06096..75bf07940 100644 --- a/plugins/Google.py +++ b/plugins/Google.py @@ -323,7 +323,8 @@ class Google(callbacks.PrivmsgCommandAndRegexp): bold = self.registryValue('bold', msg.args[0]) max = self.registryValue('maximumResults', msg.args[0]) irc.reply(self.formatData(data, bold=bold, max=max)) - google = wrap(google, [getopts({'language':'text', 'restrict':'text', + google = wrap(google, [getopts({'language':'something', + 'restrict':'something', 'notsafe':'', 'similar':''}), many('something')]) @@ -357,8 +358,8 @@ class Google(callbacks.PrivmsgCommandAndRegexp): meta.searchTime, categories and ' Categories include %s.' % categories) irc.reply(s) - metagoogle = wrap(metagoogle, [getopts({'language':'text', - 'restrict':'text', + metagoogle = wrap(metagoogle, [getopts({'language':'something', + 'restrict':'something', 'notsafe':'', 'similar':''}), many('something')]) diff --git a/plugins/URL.py b/plugins/URL.py index 32fb15dd5..3fe0c03c8 100644 --- a/plugins/URL.py +++ b/plugins/URL.py @@ -204,9 +204,9 @@ class URL(callbacks.PrivmsgCommandAndRegexp): s = urls[0] irc.reply(s) last = wrap(last, ['channeldb', - getopts({'from': 'text', 'with': 'text', - 'near': 'text', 'proto': 'text', - 'nolimit': '', 'without': 'text',})]) + getopts({'from': 'something', 'with': 'something', + 'near': 'something', 'proto': 'something', + 'nolimit': '', 'without': 'something',})]) Class = URL