Use print function
This commit is contained in:
1 parent
57abd9baef
commit
70fcc45893
25 files changed
+189
-141
No files matched your search
@@ -4,6 +4,7 @@
|
||||
Test for sshd.py
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
import unittest
|
||||
import pexpect
|
||||
from mininet.clean import sh
|
||||
@@ -20,7 +21,7 @@ class testSSHD( unittest.TestCase ):
|
||||
while True:
|
||||
index = p.expect( self.opts )
|
||||
if index == 0:
|
||||
print p.match.group(0)
|
||||
print( p.match.group(0) )
|
||||
p.sendline( 'yes' )
|
||||
elif index == 1:
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user