From 3c85d8fc9b0e42c3f960a837badceeb62549ec3f Mon Sep 17 00:00:00 2001 From: Orakaro Date: Sun, 13 Jul 2014 13:27:53 +0900 Subject: [PATCH] delete Exception catch --- rainbowstream/rainbow.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index dfd60da..20c110f 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -1064,8 +1064,7 @@ def list_update(t): mode=mode, description=description) printNicely(light_green(slug + ' list is updated.')) - except Exception as e: - print e + except: printNicely(red('Oops something is wrong with Twitter :(')) @@ -1110,8 +1109,7 @@ def list(): } try: return action_ary[g['list_action']](t) - except Exception as e: - print e + except: printNicely(red('Sorry I can\'t understand.')) -- 2.25.1