diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-04-25 12:42:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 12:42:37 -0400 |
commit | d4653e6fccf0bc15d04075110769c11befb22819 (patch) | |
tree | a04ca95d6f67bae491f290cc71036d2a4f6b168c /cmd2/py_bridge.py | |
parent | 9c7bbfa5bdbf8c8d81c0cd3c3cd5179d700de0b2 (diff) | |
parent | 9b78cf4913202995dcf065ecf5077bf16fa01f95 (diff) | |
download | cmd2-git-d4653e6fccf0bc15d04075110769c11befb22819.tar.gz |
Merge pull request #931 from python-cmd2/branching_strategy
Added info on SemVer and branching strategy to CONTRIBUTING.md
Diffstat (limited to 'cmd2/py_bridge.py')
-rw-r--r-- | cmd2/py_bridge.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/py_bridge.py b/cmd2/py_bridge.py index 0dc04ca6..38fef142 100644 --- a/cmd2/py_bridge.py +++ b/cmd2/py_bridge.py @@ -5,10 +5,10 @@ while maintaining a reasonable degree of isolation between the two. """ import sys -from contextlib import redirect_stdout, redirect_stderr +from contextlib import redirect_stderr, redirect_stdout from typing import Optional -from .utils import namedtuple_with_defaults, StdSim +from .utils import StdSim, namedtuple_with_defaults class CommandResult(namedtuple_with_defaults('CommandResult', ['stdout', 'stderr', 'stop', 'data'])): |