From 004a80bfaad38f9400e8aebcb8f980353a232295 Mon Sep 17 00:00:00 2001 From: Walter Purcaro <vuolter@gmail.com> Date: Mon, 1 Dec 2014 23:53:07 +0100 Subject: PEP-8, Python Zen, refactor and reduce code (thx FedeG) --- docs/access_api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/access_api.rst') diff --git a/docs/access_api.rst b/docs/access_api.rst index 1d013c2c0..938b73d04 100644 --- a/docs/access_api.rst +++ b/docs/access_api.rst @@ -52,7 +52,7 @@ A basic script that prints out some information: :: try: client = ThriftClient(host="127.0.0.1", port=7227, user="User", password="yourpw") - except: + except Exception: print "Login was wrong" exit() -- cgit v1.2.3