summaryrefslogtreecommitdiff
path: root/gr-utils/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python')
-rw-r--r--gr-utils/python/modtool/cli/update.py2
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():