Use print function

This commit is contained in:
Brad Walker authored and Bob Lantz committed 2016-06-21 16:27:04 -07:00
1 parent 57abd9baef
commit 70fcc45893
25 files changed
+189 -141

No files matched your search

+2 -1
View File
@@ -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