beremiz
Clone
Summary
Browse
Changes
Graph
Fix misc typos in exception handling code.
nevow_service_rework
2018-07-06, Edouard Tisserant
8ae29ec2d1dc
Parents
f808ec7dc10e
Children
a603d1ba287b
Fix misc typos in exception handling code.
1 files changed, 3 insertions(+), 3 deletions(-)
+3
-3
Beremiz_service.py
--- a/Beremiz_service.py Thu Jul 05 13:46:18 2018 +0200
+++ b/Beremiz_service.py Fri Jul 06 15:05:03 2018 +0200
@@ -587,7 +587,7 @@
if webport is not None:
try:
import runtime.NevowServer as NS # pylint: disable=ungrouped-imports
- except Exception, e:
+ except Exception:
LogMessageAndException(_("Nevow/Athena import failed :"))
webport = None
NS.WorkingDir = WorkingDir
@@ -602,8 +602,8 @@
if wampconf is not None:
try:
import runtime.WampClient as WC # pylint: disable=ungrouped-imports
- except Exception, e:
- print(_("WAMP import failed :"), e)
+ except Exception:
+ LogMessageAndException(_("WAMP import failed :"))
wampconf = None
# Load extensions