aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/commands/outs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_modules/commands/outs.py')
-rw-r--r--src/core_modules/commands/outs.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core_modules/commands/outs.py b/src/core_modules/commands/outs.py
index e82ceefd..c6b489ae 100644
--- a/src/core_modules/commands/outs.py
+++ b/src/core_modules/commands/outs.py
@@ -6,6 +6,13 @@ class StdOut(object):
self.prefix = prefix
self._lines = []
self._assured = False
+ self._overflowed = False
+
+ def copy_from(self, other):
+ self.prefix = other.prefix
+ self._lines = other._lines
+ self._assured = other._assured
+ self._overflowed = other._overflowed
def assure(self):
self._assured = True