summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-06-07 17:37:15 +0000
committerMark Spruiell <mes@zeroc.com>2006-06-07 17:37:15 +0000
commit01e0a277fa5eceeb0c450044e7a1bcde36bc81c6 (patch)
tree1cb72d5c63c61ee4610436202ee36e16d9ab565e /cpp/config/TestUtil.py
parentadded TrustOnly implementation. (diff)
downloadice-01e0a277fa5eceeb0c450044e7a1bcde36bc81c6.tar.bz2
ice-01e0a277fa5eceeb0c450044e7a1bcde36bc81c6.tar.xz
ice-01e0a277fa5eceeb0c450044e7a1bcde36bc81c6.zip
fix in ReaderThread
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 1d2a9037951..8963d944227 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -230,8 +230,8 @@ class ReaderThread(Thread):
while 1:
line = self.pipe.readline()
if not line: break
- # supress object adapter ready messages. Under windows the eol isn't \n.
- if line[len(line)-8:len(line)-2] != " ready":
+ # Suppress "adapter ready" messages. Under windows the eol isn't \n.
+ if not line.endswith(" ready\n") and not line.endswith(" ready\r\n"):
print self.token + ": " + line,
except IOError:
pass