diff options
author | jomo <github@jomo.tv> | 2015-01-02 01:39:43 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-01-02 01:39:43 +0100 |
commit | 6ec7ad23ed1f2d042355eea727a43b95403354fd (patch) | |
tree | d77da96fa1526fe8f85e5902e5cc7ef5d4d039c2 /calc.py | |
parent | 9110fc2eda3a0018f164510f8ef840969c4d6b75 (diff) |
stfu pylint
Diffstat (limited to 'calc.py')
-rw-r--r-- | calc.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,8 +25,8 @@ def calc(text): break if should_calc and not any(op in expression for op in ignore_operators): try: - result = str(eval(expression)) - except: + result = str(eval(expression)) # pylint: disable = W0123 + except: # pylint: disable = W0702 # we can run into all kinds of errors here # most probably SyntaxError return None |