ladon-3.4-ctl SocketServer import
Bug #1534557 reported by
Carlos González Sacristán
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ladon |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I just tried the first example in the tutorial, the one with the add method.
As I run the command: ladon-3.4-ctl testserve calculator.py -p 8080, I get an import error, as the SocketServer package was renamed to socketserver (all lower case). I changed the import line to:
try:
from SocketServer import ThreadingMixIn
except ImportError:
from socketserver import ThreadingMixIn
And it worked. Just thought you should know it.
Regards
To post a comment you must log in.
Thanks - it has been committed for next version