From 2fa0f6dedc3ef129d2fe1f792afe26a79946970e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Fri, 14 Aug 2009 16:07:26 +0200 Subject: [PATCH] commands.py: Sort the items of the wrappers dictionary (just to make it readable) Signed-off-by: James Vega --- src/commands.py | 102 ++++++++++++++++++++++++------------------------ 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/src/commands.py b/src/commands.py index b22068f1a..431bf4855 100644 --- a/src/commands.py +++ b/src/commands.py @@ -575,61 +575,61 @@ def getText(irc, msg, args, state): raise IndexError wrappers = ircutils.IrcDict({ - 'id': getId, - 'ip': getIp, - 'int': getInt, - 'index': getIndex, - 'color': getIrcColor, - 'now': getNow, - 'url': getUrl, - 'email': getEmail, - 'httpUrl': getHttpUrl, - 'long': getLong, - 'float': getFloat, - 'nonInt': getNonInt, - 'positiveInt': getPositiveInt, - 'nonNegativeInt': getNonNegativeInt, - 'letter': getLetter, - 'haveOp': getHaveOp, - 'expiry': getExpiry, - 'literal': getLiteral, - 'to': getTo, - 'nick': getNick, - 'seenNick': getSeenNick, - 'channel': getChannel, - 'inChannel': inChannel, - 'onlyInChannel': onlyInChannel, - 'nickInChannel': nickInChannel, - 'networkIrc': getNetworkIrc, - 'callerInGivenChannel': callerInGivenChannel, - 'plugin': getPlugin, - 'boolean': getBoolean, - 'lowered': getLowered, - 'anything': anything, - 'something': getSomething, - 'filename': getSomething, # XXX Check for validity. - 'commandName': getCommandName, - 'text': getText, - 'glob': getGlob, - 'somethingWithoutSpaces': getSomethingNoSpaces, - 'capability': getSomethingNoSpaces, - 'channelDb': getChannelDb, - 'hostmask': getHostmask, - 'banmask': getBanmask, - 'user': getUser, - 'matches': getMatch, - 'public': public, - 'private': private, - 'otherUser': getOtherUser, - 'regexpMatcher': getMatcher, - 'validChannel': validChannel, - 'regexpReplacer': getReplacer, - 'owner': owner, 'admin': admin, + 'anything': anything, + 'banmask': getBanmask, + 'boolean': getBoolean, + 'callerInGivenChannel': callerInGivenChannel, + 'capability': getSomethingNoSpaces, + 'channel': getChannel, + 'channelDb': getChannelDb, 'checkCapability': checkCapability, 'checkChannelCapability': checkChannelCapability, - 'op': getOp, + 'color': getIrcColor, + 'commandName': getCommandName, + 'email': getEmail, + 'expiry': getExpiry, + 'filename': getSomething, # XXX Check for validity. + 'float': getFloat, + 'glob': getGlob, 'halfop': getHalfop, + 'haveOp': getHaveOp, + 'hostmask': getHostmask, + 'httpUrl': getHttpUrl, + 'id': getId, + 'inChannel': inChannel, + 'index': getIndex, + 'int': getInt, + 'ip': getIp, + 'letter': getLetter, + 'literal': getLiteral, + 'long': getLong, + 'lowered': getLowered, + 'matches': getMatch, + 'networkIrc': getNetworkIrc, + 'nick': getNick, + 'nickInChannel': nickInChannel, + 'nonInt': getNonInt, + 'nonNegativeInt': getNonNegativeInt, + 'now': getNow, + 'onlyInChannel': onlyInChannel, + 'op': getOp, + 'otherUser': getOtherUser, + 'owner': owner, + 'plugin': getPlugin, + 'positiveInt': getPositiveInt, + 'private': private, + 'public': public, + 'regexpMatcher': getMatcher, + 'regexpReplacer': getReplacer, + 'seenNick': getSeenNick, + 'something': getSomething, + 'somethingWithoutSpaces': getSomethingNoSpaces, + 'text': getText, + 'to': getTo, + 'url': getUrl, + 'user': getUser, + 'validChannel': validChannel, 'voice': getVoice, })