-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Back to stdout.readlines() for cmd_stdout.sort
run_command accepts a sort argument which causes the line output from the command to be sorted. Can only do this with a list hence we're moving back to stdout.readlines() which creates a list of lines. Also clean up the subprocess.Popen call.
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 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