aboutsummaryrefslogtreecommitdiff
path: root/lava_dispatcher/shell.py
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2017-11-03 14:36:06 +0000
committerNeil Williams <neil.williams@linaro.org>2017-11-03 14:37:23 +0000
commit1451e3a450d2848a87498411abaca008051d8ad7 (patch)
tree795f44617c557c3d899a1a36745687ca7edca667 /lava_dispatcher/shell.py
parentbdffb3bf0f109fe41a39f6e2f453a025428f87fb (diff)
LAVA-1098 unassigned variable in read_feedback
Change-Id: If23943e7e8e9cf285c4c43d0b9c9eeeeea5ef1b6
Diffstat (limited to 'lava_dispatcher/shell.py')
-rw-r--r--lava_dispatcher/shell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lava_dispatcher/shell.py b/lava_dispatcher/shell.py
index 6e3e6c75b..29a1a4a7b 100644
--- a/lava_dispatcher/shell.py
+++ b/lava_dispatcher/shell.py
@@ -263,6 +263,7 @@ class ShellSession(Connection):
Listen to output and log as feedback
Returns the number of characters read.
"""
+ index = 0
if timeout < 0:
raise LAVABug("Invalid timeout value passed to listen_feedback()")
try: