summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2008-03-03 18:07:19 +0800
committerMatthew Newhook <matthew@zeroc.com>2008-03-03 18:07:19 +0800
commitfff0e2e88bec978b2be8dad3c7d534edfc2f549b (patch)
tree5f09561ea40b48da9c318ffff215ef05eec580ff /demoscript/Util.py
parentFix expect scripts for HA IceStorm. Clean up READMEs. (diff)
downloadice-fff0e2e88bec978b2be8dad3c7d534edfc2f549b.tar.bz2
ice-fff0e2e88bec978b2be8dad3c7d534edfc2f549b.tar.xz
ice-fff0e2e88bec978b2be8dad3c7d534edfc2f549b.zip
Fixes to the Freeze/casino, IceGrid/simple and book/freeze_filesystem expect scripts.
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index 59960e51ca4..af79438a32c 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -128,6 +128,8 @@ class spawn(pexpect.spawn):
if self.expectFirst and timeout == defaultTimeout:
timeout = initialTimeout
self.expectFirst = False
+ if trace:
+ print "(expect: %s timeout=%d)" % (pattern, defaultTimeout)
return pexpect.spawn.expect(self, pattern, timeout, searchwindowsize)
def wait(self):