summaryrefslogtreecommitdiffstats
path: root/docs/access_api.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/access_api.rst')
-rw-r--r--docs/access_api.rst2
1 files changed, 1 insertions, 1 deletions
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()