From ad3a7b184553afa88d6bfe52dfadcf8c577319e5 Mon Sep 17 00:00:00 2001
From: Jiří Pinkava <j-pi@seznam.cz>
Date: Tue, 28 Jun 2016 18:28:37 +0200
Subject: modtool: fix license formating

---
 gr-utils/python/modtool/modtool_add.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gr-utils/python/modtool/modtool_add.py')

diff --git a/gr-utils/python/modtool/modtool_add.py b/gr-utils/python/modtool/modtool_add.py
index d560c0878c..416c0943b7 100644
--- a/gr-utils/python/modtool/modtool_add.py
+++ b/gr-utils/python/modtool/modtool_add.py
@@ -143,7 +143,7 @@ class ModToolAdd(ModTool):
         elif self._info['is_component']:
             return Templates['grlicense']
         else:
-            return get_template('defaultlicense', **self._info)
+            return Templates['defaultlicense'].format(**self._info)
 
     def _write_tpl(self, tpl, path, fname):
         """ Shorthand for writing a substituted template to a file"""
-- 
cgit v1.2.3