Mercurial > kallithea
changeset 5614:2189802db18a stable
python: workaround Python 2.7.11 incompatibility in the celery dependency kombu
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 05 Jan 2016 16:23:22 +0100 |
parents | efce61aac33d |
children | d5707598fd64 |
files | kallithea/__init__.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/__init__.py Fri Dec 25 12:37:49 2015 +0100 +++ b/kallithea/__init__.py Tue Jan 05 16:23:22 2016 +0100 @@ -93,3 +93,9 @@ __version__ += VERSION[4] else: __version__ += '0' + +# Hack for making the celery dependency kombu==1.5.1 compatible with Python +# 2.7.11 which has https://hg.python.org/releases/2.7.11/rev/24bdc4940e81 +import uuid +if not hasattr(uuid, '_uuid_generate_random'): + uuid._uuid_generate_random = None