From 875d6c2b2a6f91531d5d080561647b2a23569041 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Fri, 1 Jun 2012 22:33:13 -0700 Subject: [PATCH] convert tools.py to 4 space indent --- tools.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tools.py b/tools.py index a7cc45d..54760ef 100755 --- a/tools.py +++ b/tools.py @@ -13,19 +13,19 @@ class GrumbleError(Exception): def deprecated(old): - def new(phenny, input, old=old): - self = phenny - origin = type('Origin', (object,), { - 'sender': input.sender, - 'nick': input.nick - })() - match = input.match - args = [input.bytes, input.sender, '@@'] + def new(phenny, input, old=old): + self = phenny + origin = type('Origin', (object,), { + 'sender': input.sender, + 'nick': input.nick + })() + match = input.match + args = [input.bytes, input.sender, '@@'] - old(self, origin, match, args) - new.__module__ = old.__module__ - new.__name__ = old.__name__ - return new + old(self, origin, match, args) + new.__module__ = old.__module__ + new.__name__ = old.__name__ + return new if __name__ == '__main__': - print(__doc__.strip()) + print(__doc__.strip())