From 46e6fdaa628b82fc447502e86e0ce8be8199a62c Mon Sep 17 00:00:00 2001 From: Keith Jones Date: Mon, 26 Jan 2004 23:34:28 +0000 Subject: [PATCH] removed stupid print statements --- plugins/Math.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/Math.py b/plugins/Math.py index 6c7eb71c5..d8a0f1df7 100644 --- a/plugins/Math.py +++ b/plugins/Math.py @@ -174,14 +174,12 @@ class Math(callbacks.Privmsg): text = self._mathRe.sub(handleMatch, text) try: self.log.info('evaluating %r from %s' % (text, msg.prefix)) - print text x = complex(eval(text, self._mathEnv, self._mathEnv)) irc.reply(self._complexToString(x)) except OverflowError: maxFloat = math.ldexp(0.9999999999999999, 1024) irc.error('The answer exceeded %s or so.' % maxFloat) except TypeError: - print "hey" irc.error('Something in there wasn\'t a valid number.') except NameError, e: irc.error('%s is not a defined function.' % str(e).split()[1]) @@ -215,7 +213,6 @@ class Math(callbacks.Privmsg): maxFloat = math.ldexp(0.9999999999999999, 1024) irc.error('The answer exceeded %s or so.' % maxFloat) except TypeError: - print "ho" irc.error('Something in there wasn\'t a valid number.') except NameError, e: irc.error('%s is not a defined function.' % str(e).split()[1])