mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
python3 compatiblity
remove use of basestring deal with configparser
This commit is contained in:
parent
943e4d37f5
commit
5b11494437
5 changed files with 13 additions and 7 deletions
|
@ -79,7 +79,7 @@ class Connection(ConnectionBase):
|
|||
|
||||
p = subprocess.Popen(
|
||||
cmd,
|
||||
shell=isinstance(cmd, basestring),
|
||||
shell=isinstance(cmd, (text_type, binary_type)),
|
||||
executable=executable, #cwd=...
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue