diff options
Diffstat (limited to 'gr-utils/python/modtool/core/disable.py')
-rw-r--r-- | gr-utils/python/modtool/core/disable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/core/disable.py b/gr-utils/python/modtool/core/disable.py index 1fb8d4a830..034e028724 100644 --- a/gr-utils/python/modtool/core/disable.py +++ b/gr-utils/python/modtool/core/disable.py @@ -95,7 +95,7 @@ class ModToolDisable(ModTool): as well as the block magic """ with open(self._file['swig']) as f: swigfile = f.read() - (swigfile, nsubs) = re.subn('(.include\s+"({}/)?{}")'.format( + (swigfile, nsubs) = re.subn(r'(.include\s+"({}/)?{}")'.format( self.info['modname'], fname), r'//\1', swigfile) if nsubs > 0: |