From 6b337dec48dad0249da37ba3cff88c11ed97c7ea Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Thu, 10 May 2012 22:29:12 -0500 Subject: [PATCH] fixed rocket ssl issue 787 --- VERSION | 2 +- gluon/rocket.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 6d93aa3c..b34cf2b0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-05-10 22:23:57) dev +Version 1.99.7 (2012-05-10 22:29:01) dev diff --git a/gluon/rocket.py b/gluon/rocket.py index 11e3bc69..3a1cf52b 100644 --- a/gluon/rocket.py +++ b/gluon/rocket.py @@ -1227,7 +1227,7 @@ class Worker(Thread): def _handleError(self, typ, val, tb): if typ == SSLError: - if 'timed out' in val.args[0]: + if 'timed out' in str(val.args[0]): typ = SocketTimeout if typ == SocketTimeout: if __debug__: