Yes. PY2 is the same as 'not PY3'.
This commit is contained in:
parent
21d378da97
commit
45e5b2536f
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
# The presence of this will cause fedmsg-hub to start its own websocket
|
# The presence of this will cause fedmsg-hub to start its own websocket
|
||||||
# server along with it.
|
# server along with it.
|
||||||
'moksha.livesocket.websocket.port': 9919,
|
'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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue