diff options
author | Bastian Bloessl <mail@bastibl.net> | 2019-02-22 11:16:36 +0000 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2019-03-04 11:38:37 +0100 |
commit | dead238496b112ff5b22bc7f68b978545433f1e1 (patch) | |
tree | 90b6b7e801eef99954484befad2e371789c72b06 /gr-utils/python | |
parent | b773a4d8f65aa264e0c342a62d55457bc2c6fcba (diff) |
modtool: converter, make sure block_candidates are assigned
Diffstat (limited to 'gr-utils/python')
-rw-r--r-- | gr-utils/python/modtool/cli/update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/cli/update.py b/gr-utils/python/modtool/cli/update.py index f5da9077ff..509e9daa20 100644 --- a/gr-utils/python/modtool/cli/update.py +++ b/gr-utils/python/modtool/cli/update.py @@ -47,8 +47,8 @@ def get_blockname(self): """ Returns the blockname for block to be updated """ if self.info['complete']: return + block_candidates = get_xml_candidates() if self.info['blockname'] is None: - block_candidates = get_xml_candidates() with SequenceCompleter(block_candidates): self.info['blockname'] = cli_input('Which block do you wish to update? : ') if not self.info['blockname'] or self.info['blockname'].isspace(): |