diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/access_api.rst | 2 | ||||
-rw-r--r-- | docs/conf.py | 6 |
2 files changed, 5 insertions, 3 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() diff --git a/docs/conf.py b/docs/conf.py index 62ad33bb7..c1174b073 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,12 +59,14 @@ copyright = u'2008-2014, pyLoad Team' # built documents. # # The full version, including alpha/beta/rc tags. -""" [[[cog +""" +[[[cog from pavement import options v = options.version.split(".") cog.outl("version = '%s'" % ".".join(v[:2])) cog.outl("release = '%s'" % ".".join(v)) -]]]""" +]]] +""" version = '0.4' release = '0.4.10' # [[[end]]] |