summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-11-28 10:52:23 +0100
committerBenoit Foucher <benoit@zeroc.com>2016-11-28 10:52:23 +0100
commitdb362fa72a2fe70b061ce1d777f2d25664a7f20e (patch)
treee64aee944ed03a2a794bc7a62440fd7f0b3a8d0e /scripts/Util.py
parentFixed PHP to lookup module in lib directory, fixed IceSSL config to only set ... (diff)
downloadice-db362fa72a2fe70b061ce1d777f2d25664a7f20e.tar.bz2
ice-db362fa72a2fe70b061ce1d777f2d25664a7f20e.tar.xz
ice-db362fa72a2fe70b061ce1d777f2d25664a7f20e.zip
Fixed Glacier2/ssl test failure, client output not being flushed
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index 8adefc1d7c2..89ac23eaa69 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -768,11 +768,11 @@ class Process(Runnable):
def __init__(self, exe=None, outfilters=[], quiet=False, args=[], props={}, envs={}, desc=None, mapping=None):
Runnable.__init__(self, desc)
self.exe = exe
- self.outfilters = outfilters
+ self.outfilters = outfilters[:]
self.quiet = quiet
- self.args = args
- self.props = props
- self.envs = envs
+ self.args = args[:]
+ self.props = props.copy()
+ self.envs = envs.copy()
self.process = None
self.mapping = mapping
@@ -834,7 +834,6 @@ class Process(Runnable):
if not self.quiet and not current.driver.isWorkerThread():
# Print out the process output to stdout if we're running the client form the main thread.
self.process.trace(self.outfilters)
-
try:
while True:
try: