From d7dcfa2e9d6d2c12bd68559050abbba84f28c44b Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 24 Nov 2010 10:06:56 +0100 Subject: [PATCH 1/1] proper re-raise --- scripts/book2html | 2 +- scripts/book2ihtml | 2 +- scripts/book2txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/book2html b/scripts/book2html index 52795d9..f7eaf63 100755 --- a/scripts/book2html +++ b/scripts/book2html @@ -54,5 +54,5 @@ if __name__ == '__main__': 'etype': e.__class__.__name__, 'message': e.message, } - raise e + raise diff --git a/scripts/book2ihtml b/scripts/book2ihtml index 5e422c9..101b4cf 100755 --- a/scripts/book2ihtml +++ b/scripts/book2ihtml @@ -55,5 +55,5 @@ if __name__ == '__main__': 'etype': e.__class__.__name__, 'message': e.message.encode('utf-8'), } - raise e + raise diff --git a/scripts/book2txt b/scripts/book2txt index 2963816..2317688 100755 --- a/scripts/book2txt +++ b/scripts/book2txt @@ -58,4 +58,4 @@ if __name__ == '__main__': 'etype': e.__class__.__name__, 'message': e.message, } - raise e + raise -- 2.20.1