When I try to run dopy in combination with python 3 I get the following error:
name 'basestring' is not defined
Uncommenting the following line works for me:
https://github.com/Wiredcraft/dopy/blob/master/dopy/manager.py#L83
I do have to make sure that ssh_keys is an array.
(Thank you author for this very good plugin!)