-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep output as native string so we can compatible with python2 interface
1. open() return string on both python2 and python3, just keep it. 2. stdout of Popen() return string on python2, and bytes on python3, decode to string.
- Loading branch information
lisongmin
committed
Nov 15, 2019
1 parent
cdfe85d
commit da027a8
Showing
2 changed files
with
46 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters