use isinstance of 'str', not 'basestring'
use isinstance of 'str', not 'basestring'

quatanium/pexpect,Wakeupbuddy/pexpect,dongguangming/pexpect,dongguangming/pexpect,Depado/pexpect,blink1073/pexpect,nodish/pexpect,bangi123/pexpect,Depado/pexpect,bangi123/pexpect,Depado/pexpect,nodish/pexpect,Depado/pexpect,Wakeupbuddy/pexpect,crdoconnor/pexpect,crdoconnor/pexpect,dongguangming/pexpect,bangi123/pexpect,blink1073/pexpect,Wakeupbuddy/pexpect,blink1073/pexpect,nodish/pexpect,quatanium/pexpect,crdoconnor/pexpect,Wakeupbuddy/pexpect,bangi123/pexpect,dongguangming/pexpect,quatanium/pexpect