diff options
author | cw1.shin <cw1.shin@samsung.net> | 2017-09-13 12:00:23 +0900 |
---|---|---|
committer | cw1.shin <cw1.shin@samsung.net> | 2017-09-13 12:00:23 +0900 |
commit | 4530bc9f894d5470e96f4e7b245ff55da8305a29 (patch) | |
tree | 4a3db5dc665fe9812338a948fd259868d4baf374 | |
parent | 0e06db3bf2cd5e130c7b67733f0ea2eb865aec5a (diff) | |
download | tic-core-4530bc9f894d5470e96f4e7b245ff55da8305a29.tar.gz tic-core-4530bc9f894d5470e96f4e7b245ff55da8305a29.tar.bz2 tic-core-4530bc9f894d5470e96f4e7b245ff55da8305a29.zip |
Check undefined category meta
- Fix to check undefined category meta
Change-Id: Icd972521007bdc533b02e2231e4bb6f3c0e86a3c
Signed-off-by: cw1.shin <cw1.shin@samsung.net>
-rw-r--r-- | tic/parser/view_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tic/parser/view_parser.py b/tic/parser/view_parser.py index 92dd01c..9fa7f25 100644 --- a/tic/parser/view_parser.py +++ b/tic/parser/view_parser.py @@ -76,7 +76,7 @@ def make_view_data(pkg_group): if pkg.get('meta'): if not pkg['name'] in children: - meta_nodes.append(make_linked_meta_node(pkg['name'], pkg['summary'], meta_info['category'])) + meta_nodes.append(make_linked_meta_node(pkg['name'], pkg['summary'], meta_info.get('category'))) else: meta_nodes.append(make_node(pkg, meta_info.get('category'))) # Added 'zz' to non meta-package because they are to be listed last |