ladon-3.4-ctl SocketServer import

Bug #1534557 reported by Carlos González Sacristán on 2016-01-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ladon
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

jsgaarde (jakob-simon-gaarde) wrote :

Thanks - it has been committed for next version

Changed in ladon:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers