forked from xapi-project/sm
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` def _errmsg(self): output = map(str.rstrip, self._p.stderr) return "; ".join(output) ``` rstrip is only compatible with str but stderr field uses bytes type instead of str in python3, so we use `universal_newlines` on subprocess.Popen to fix this problem. Signed-off-by: Ronan Abhamon <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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