Changeset - 4f2c4fcc770b
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-07-02 18:17:31
marcin@python-works.com
fixed Python2.5 socket error
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/celerylib/__init__.py
Show inline comments
 
@@ -67,7 +67,7 @@ def run_task(task, *args, **kwargs):
 
            return t
 

	
 
        except socket.error, e:
 
            if  e.errno == 111:
 
            if isinstance(e, IOError) and e.errno == 111:
 
                log.debug('Unable to connect to celeryd. Sync execution')
 
            else:
 
                log.error(traceback.format_exc())
0 comments (0 inline, 0 general)