diff options
Diffstat (limited to 'gr-utils/python')
-rwxr-xr-x | gr-utils/python/utils/gr_modtool | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/python/utils/gr_modtool b/gr-utils/python/utils/gr_modtool index e714cf48e5..1690be207f 100755 --- a/gr-utils/python/utils/gr_modtool +++ b/gr-utils/python/utils/gr_modtool @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2012 Free Software Foundation, Inc. +# Copyright 2012, 2017 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -26,7 +26,7 @@ from gnuradio.modtool import * def main(): """ Here we go. Parse command, choose class and run. """ - cmd_dict = get_class_dict(globals().values()) + cmd_dict = get_class_dict(ModTool.__subclasses__()) command = get_command_from_argv(cmd_dict.keys()) if command is None: print 'Usage:' + Templates['usage'] |