From 8d581226880e67143a04b9b7084295cbf51e6a81 Mon Sep 17 00:00:00 2001 From: David Howells Date: Thu, 12 Jun 2014 09:19:23 +0100 Subject: [PATCH] Fix some variable deletions in the bash autocomplete handling Signed-off-by: David Howells --- suite/bash-comp-helper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/suite/bash-comp-helper.py b/suite/bash-comp-helper.py index 25c1e54..aef5986 100755 --- a/suite/bash-comp-helper.py +++ b/suite/bash-comp-helper.py @@ -207,12 +207,14 @@ def main(): else: canon_flags.append(None) word_types.append(None) + del j, switch, match else: canon_flags.append(None) word_types.append(None) skip_flag = False additional_args.append(False) - del i, j, word, switch, match, skip_flag + del word + del i, skip_flag # We need to eliminate any arguments that have already been used argnames = [] -- 2.49.0