diff --git a/shotgun/driver.py b/shotgun/driver.py index 86d3e81..4054e54 100644 --- a/shotgun/driver.py +++ b/shotgun/driver.py @@ -118,6 +118,7 @@ class Driver(object): logger.debug("Running local command: %s", command) out.return_code, out.stdout, out.stderr = utils.execute( command) + out.output = out.stdout except fabric.exceptions.NetworkError as e: logger.error("NetworkError occured: %s", str(e)) raise diff --git a/shotgun/test/test_driver.py b/shotgun/test/test_driver.py index 333f688..c55cfa3 100644 --- a/shotgun/test/test_driver.py +++ b/shotgun/test/test_driver.py @@ -107,6 +107,7 @@ class TestDriver(base.BaseTestCase): out = shotgun.driver.CommandOut() out.stdout = "STDOUT" out.stderr = "STDERR" + out.output = "STDOUT" out.return_code = "RETURN_CODE" command = "COMMAND"