summaryrefslogtreecommitdiffstats
path: root/doc/guide/guide.org
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guide/guide.org')
-rw-r--r--doc/guide/guide.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guide/guide.org b/doc/guide/guide.org
index 55c172535..6d181559f 100644
--- a/doc/guide/guide.org
+++ b/doc/guide/guide.org
@@ -752,9 +752,9 @@ def run(api):
except KeyboardInterrupt:
print ''
api.log.info('operation aborted')
- except PublicError, e:
+ except PublicError as e:
error = e
- except Exception, e:
+ except Exception as e:
api.log.exception('%s: %s', e.__class__.__name__, str(e))
error = InternalError()
if error is not None: