summaryrefslogtreecommitdiff
path: root/cmd2/pyscript_bridge.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-06-25 21:35:20 -0700
committerGitHub <noreply@github.com>2018-06-25 21:35:20 -0700
commit63aa28c284a9c854b950f4bf2dbe4aa438f21365 (patch)
treed32f008ca5804fa4766fcd9a344af4e2f5b2ed3b /cmd2/pyscript_bridge.py
parent40dc4554c7321c33ca490b1c45e130000229d274 (diff)
parenteb749b57c3ac8a3021fdd2fccc79fdfb18fca235 (diff)
downloadcmd2-git-63aa28c284a9c854b950f4bf2dbe4aa438f21365.tar.gz
Merge pull request #451 from python-cmd2/command_result
Deprecated CmdResult helper class and promoted CommandResult
Diffstat (limited to 'cmd2/pyscript_bridge.py')
-rw-r--r--cmd2/pyscript_bridge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/pyscript_bridge.py b/cmd2/pyscript_bridge.py
index 9353e611..3f58ab84 100644
--- a/cmd2/pyscript_bridge.py
+++ b/cmd2/pyscript_bridge.py
@@ -22,7 +22,7 @@ from .argparse_completer import _RangeAction
from .utils import namedtuple_with_defaults
-class CommandResult(namedtuple_with_defaults('CmdResult', ['stdout', 'stderr', 'data'])):
+class CommandResult(namedtuple_with_defaults('CommandResult', ['stdout', 'stderr', 'data'])):
"""Encapsulates the results from a command.
Named tuple attributes