diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-09-19 09:15:46 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-09-19 09:15:46 +0200 |
commit | ea06608526da9cde280d2d699a1332420aedc859 (patch) | |
tree | 2c5d39a96c57fd523ddd6d3404239101b1522ea7 /demoscript/Util.py | |
parent | Don't add VC110 bin dir to PATH when testing py with a binary distribution. (diff) | |
download | ice-ea06608526da9cde280d2d699a1332420aedc859.tar.bz2 ice-ea06608526da9cde280d2d699a1332420aedc859.tar.xz ice-ea06608526da9cde280d2d699a1332420aedc859.zip |
Fixed ICE-5422 : IceStorm/replicated test failures
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r-- | demoscript/Util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py index dd3adda9786..ebe8fa3704a 100644 --- a/demoscript/Util.py +++ b/demoscript/Util.py @@ -65,10 +65,10 @@ class filereader(Expect.reader): try: while True: c = self.p.read(1) - if c == '': + if not c: time.sleep(0.1) continue - if not c: break + if c == '\r': continue self.cv.acquire() try: |