Skip to content

Commit

Permalink
O: 添加最终发送字串的调试打印信息
Browse files Browse the repository at this point in the history
  • Loading branch information
littlemo committed May 8, 2018
1 parent ba6036e commit dad4a42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mohand_plugin_expect/hand.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def action(self, expect, sendline, before='', retry=3, **kwargs):
log.error('未从传入的sendline正则中匹配到字串')
continue
sendline = match.groups()[0]
log.debug('待发送字串: {}'.format(sendline))
self.child.sendline(sendline)
break
else:
Expand Down

0 comments on commit dad4a42

Please sign in to comment.