changeset 545:fa95f1c862b4

doing except: bla is bad
author Digitalxero
date Fri, 26 Mar 2010 19:04:41 -0600
parents 7937d730911a
children ab0de2faa2f0 738b2105551f
files orpg/chat/chatwnd.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/orpg/chat/chatwnd.py	Fri Mar 26 18:55:06 2010 -0600
+++ b/orpg/chat/chatwnd.py	Fri Mar 26 19:04:41 2010 -0600
@@ -2077,7 +2077,7 @@
         if matches and compiled_simple_arithmetic_regex.match(string):
             try:
                 string = str(eval(string))
-            except:
+            except Exception:
                 pass
         return string