[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/02: modtool: Bugfix for info command, wo
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/02: modtool: Bugfix for info command, would confuse in- and out-of-tree components |
Date: |
Sun, 22 Mar 2015 15:59:43 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 1e573fa391122fa00470df07790f1f1e5f73f700
Author: Martin Braun <address@hidden>
Date: Thu Mar 19 17:09:15 2015 -0700
modtool: Bugfix for info command, would confuse in- and out-of-tree
components
---
gr-utils/python/modtool/modtool_info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-utils/python/modtool/modtool_info.py
b/gr-utils/python/modtool/modtool_info.py
index 4c7480d..5596a7d 100644
--- a/gr-utils/python/modtool/modtool_info.py
+++ b/gr-utils/python/modtool/modtool_info.py
@@ -72,7 +72,7 @@ class ModToolInfo(ModTool):
):
self._info['version'] = '37'
mod_info['version'] = self._info['version']
- if 'is_component' in self._info.keys():
+ if 'is_component' in self._info.keys() and self._info['is_component']:
mod_info['is_component'] = True
mod_info['incdirs'] = []
mod_incl_dir = os.path.join(mod_info['base_dir'], 'include')