summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/modtool/cmakefile_editor.py
diff options
context:
space:
mode:
authorMartin Braun2013-01-25 17:52:46 +0100
committerMartin Braun2013-01-25 17:52:46 +0100
commitc4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8 (patch)
treec4415e4cedddd204dc186d0858f25e1a2c654827 /gr-utils/src/python/modtool/cmakefile_editor.py
parentf24128ea9036f68e61ff9350ce86ec619f9ae286 (diff)
downloadgnuradio-c4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8.tar.gz
gnuradio-c4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8.tar.bz2
gnuradio-c4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8.zip
utils: modtool minor updates
Diffstat (limited to 'gr-utils/src/python/modtool/cmakefile_editor.py')
-rw-r--r--gr-utils/src/python/modtool/cmakefile_editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/src/python/modtool/cmakefile_editor.py b/gr-utils/src/python/modtool/cmakefile_editor.py
index fe50373bb..b18275707 100644
--- a/gr-utils/src/python/modtool/cmakefile_editor.py
+++ b/gr-utils/src/python/modtool/cmakefile_editor.py
@@ -5,7 +5,7 @@ import re
### CMakeFile.txt editor class ###############################################
class CMakeFileEditor(object):
"""A tool for editing CMakeLists.txt files. """
- def __init__(self, filename, separator=' ', indent=' '):
+ def __init__(self, filename, separator='\n ', indent=' '):
self.filename = filename
self.cfile = open(filename, 'r').read()
self.separator = separator