Try to fix pylint errors ;-p

This commit is contained in:
Bob Lantz
2018-07-26 13:40:12 -07:00
parent 17f9756e5c
commit 323989953b
+3
View File
@@ -25,7 +25,10 @@ def encode( s ):
"Encode a byte string if needed for Python 3" "Encode a byte string if needed for Python 3"
return s.encode( Encoding ) if Python3 else s return s.encode( Encoding ) if Python3 else s
try: try:
# pylint: disable=import-error
oldpexpect = None
import pexpect as oldpexpect import pexpect as oldpexpect
# pylint: enable=import-error
class Pexpect( object ): class Pexpect( object ):
"Custom pexpect that is compatible with str" "Custom pexpect that is compatible with str"