aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 22:12:23 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 22:12:23 +0000
commit5904b87ba6db838db0da8cde1996db209cbaa67c (patch)
tree3b7dc8136b48046e3d615d18054e23d70c217af9
parent6c279b4aa69f7bc7cf9eb14c3f5bae7cd33121de (diff)
downloadvland-5904b87ba6db838db0da8cde1996db209cbaa67c.tar.gz
Loosen up the parsing on paged output
Change-Id: Ib8f65ada905a67738511ab7311cf1dcc8a8d0c42
-rw-r--r--drivers/CiscoSX300.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/CiscoSX300.py b/drivers/CiscoSX300.py
index 38f5039..e2c0bd2 100644
--- a/drivers/CiscoSX300.py
+++ b/drivers/CiscoSX300.py
@@ -352,7 +352,7 @@ class CiscoSX300(SwitchDriver):
buf = []
prompt = self._prompt_name + '#'
while True:
- index = self.connection.expect(['\x1b\[0mMore:.*<return>.*$', prompt])
+ index = self.connection.expect(['More:.*<return>.*$', prompt])
if index == 0: # More: <space>
for line in self.connection.before.split('\r\n'):
buf.append(line.strip())