git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba0f14
)
sleep could probably be reduced, but the extra newlines are required.
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Mon, 20 Jul 2009 23:04:43 +0000
(23:04 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Mon, 20 Jul 2009 23:04:43 +0000
(23:04 +0000)
pcucontrol/models/DRAC.py
patch
|
blob
|
history
diff --git
a/pcucontrol/models/DRAC.py
b/pcucontrol/models/DRAC.py
index
e3172b6
..
712cf19
100644
(file)
--- a/
pcucontrol/models/DRAC.py
+++ b/
pcucontrol/models/DRAC.py
@@
-45,7
+45,8
@@
class DRAC(PCUControl):
# returns right away without waiting for the commands above to
# complete... Therefore, this delay is guaranteed to fail in some
# other context...
- time.sleep(5)
+ s.send("\r\n\r\n")
+ time.sleep(20)
index = s.expect(["\$", "\[%s\]#" % self.username ])
print s
print "INDEX 2:", index