summaryrefslogtreecommitdiff
path: root/gr-utils/src/python
diff options
context:
space:
mode:
authorTom Rondeau2013-03-05 16:06:53 -0500
committerTom Rondeau2013-03-05 16:42:32 -0500
commit54a4df9513ea681a8b376c4df3f4f846f92201c1 (patch)
tree3932eb449459c2a85fcefe5839ed9b3de7bfadc1 /gr-utils/src/python
parent71f1ee49ec4d444f51bdafa6922c1732a7e0d4bd (diff)
downloadgnuradio-54a4df9513ea681a8b376c4df3f4f846f92201c1.tar.gz
gnuradio-54a4df9513ea681a8b376c4df3f4f846f92201c1.tar.bz2
gnuradio-54a4df9513ea681a8b376c4df3f4f846f92201c1.zip
prefs: pass strings by reference. Also cleans up a comma in gr_modtool that made a string into a tuple (and C++ angry).
Diffstat (limited to 'gr-utils/src/python')
-rw-r--r--gr-utils/src/python/modtool/modtool_newmod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/src/python/modtool/modtool_newmod.py b/gr-utils/src/python/modtool/modtool_newmod.py
index 102d83d8d..0613d5fbe 100644
--- a/gr-utils/src/python/modtool/modtool_newmod.py
+++ b/gr-utils/src/python/modtool/modtool_newmod.py
@@ -66,7 +66,7 @@ class ModToolNewModule(ModTool):
print 'The given directory exists.'
exit(2)
if options.srcdir is None:
- options.srcdir = '/usr/local/share/gnuradio/modtool/gr-newmod',
+ options.srcdir = '/usr/local/share/gnuradio/modtool/gr-newmod'
self._srcdir = gr.prefs().get_string('modtool', 'newmod_path', options.srcdir)
if not os.path.isdir(self._srcdir):
print 'Error: Could not find gr-newmod source dir.'