diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-05-27 11:07:30 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-05-27 11:07:30 -0700 |
commit | 6efacb8e3a8dcefab94231e08827161cb8e0c737 (patch) | |
tree | 51331fca9a9d1538360da72473407a639b25cf68 /gr-utils/python/modtool/modtool_add.py | |
parent | 6720e650adaf9eb6bb43f08fe30a7da380eea074 (diff) | |
parent | 050bad874bed86003c061191782220f28d75d065 (diff) |
Merge remote-tracking branch 'mbr0wn/modtool/lang_consistency' into maint
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Diffstat (limited to 'gr-utils/python/modtool/modtool_add.py')
-rw-r--r-- | gr-utils/python/modtool/modtool_add.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-utils/python/modtool/modtool_add.py b/gr-utils/python/modtool/modtool_add.py index a4812c8105..77f82aaae9 100644 --- a/gr-utils/python/modtool/modtool_add.py +++ b/gr-utils/python/modtool/modtool_add.py @@ -83,9 +83,8 @@ class ModToolAdd(ModTool): if self._info['lang'] is None: while self._info['lang'] not in ['cpp', 'python']: self._info['lang'] = raw_input("Language (python/cpp): ") - - if self._info['lang'] == 'c++': - self._info['lang'] = 'cpp' + if self._info['lang'] == 'c++': + self._info['lang'] = 'cpp' print "Language: %s" % {'cpp': 'C++', 'python': 'Python'}[self._info['lang']] |