Re: [Twisted-Python] txws.py websocket and Python 2.4
Maybe you could commit that?
try:
#python 2.6+
from hashlib import md5, sha1
except ImportError:
import md5
from sha import sha as sha1
protocol = "self.isSecure() and wss" or "ws"
That would help to people with 2.4!
From: Corbin Simpson [mailto:mostawesomedude@gmail.com]
Sent: Thursday, April 12, 2012 3:18 PM
To: matusis@yahoo.com
Subject: Re: txws.py websocket and Python 2.4
Yeah, definitely.
On Apr 12, 2012 3:16 PM,
participants (1)
-
matusis@yahoo.com