From 45e5b2536f4d11530b0bead9bfc65138037faa24 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 17 Jul 2014 01:52:44 +0000 Subject: [PATCH] Yes. PY2 is the same as 'not PY3'. --- roles/fedmsg/hub/files/websockets.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/fedmsg/hub/files/websockets.py b/roles/fedmsg/hub/files/websockets.py index b7f627af0e..9563b6b9c0 100644 --- a/roles/fedmsg/hub/files/websockets.py +++ b/roles/fedmsg/hub/files/websockets.py @@ -1,6 +1,9 @@ - config = { # The presence of this will cause fedmsg-hub to start its own websocket # server along with it. 'moksha.livesocket.websocket.port': 9919, } + +# And... this is a hack to get python-txws to work with python-six on epel7 +import six +six.PY2 = not six.PY3