ladon-3.4-ctl SocketServer import

Bug #1534557 reported by Carlos González Sacristán
6
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

Revision history for this message
Carlos González Sacristán (gonsa-carlos) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.