diff options
| author | Ralph Bean <rbean@redhat.com> | 2014-07-17 01:52:44 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2014-07-17 01:52:44 +0000 |
| commit | 45e5b2536f4d11530b0bead9bfc65138037faa24 (patch) | |
| tree | 567a3cf873c79965cfade1a537eb14424a92490c /roles/fedmsg/hub | |
| parent | 21d378da979aeca2b13b1447e2a852545190f8ca (diff) | |
| download | ansible-45e5b2536f4d11530b0bead9bfc65138037faa24.tar.gz ansible-45e5b2536f4d11530b0bead9bfc65138037faa24.tar.xz ansible-45e5b2536f4d11530b0bead9bfc65138037faa24.zip | |
Yes. PY2 is the same as 'not PY3'.
Diffstat (limited to 'roles/fedmsg/hub')
| -rw-r--r-- | roles/fedmsg/hub/files/websockets.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/fedmsg/hub/files/websockets.py b/roles/fedmsg/hub/files/websockets.py index b7f627af0..9563b6b9c 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 |
