projects
/
annotations.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb0efcc
)
annotations: avoid converting null results to kconfig format
author
Andrea Righi
<andrea.righi@canonical.com>
Mon, 14 Nov 2022 20:49:36 +0000
(21:49 +0100)
committer
Andrea Righi
<andrea.righi@canonical.com>
Mon, 14 Nov 2022 20:49:36 +0000
(21:49 +0100)
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
annotations
patch
|
blob
|
history
diff --git
a/annotations
b/annotations
index 138507dd4ef27cdc29bae479cea2d2cd1cf173c4..9829dbc99cf6ef0ca407acd0ee7514577bf7e830 100755
(executable)
--- a/
annotations
+++ b/
annotations
@@
-55,7
+55,8
@@
def do_export(args):
arg_fail('error: --export requires --arch')
a = Annotation(args.file)
conf = a.search_config(config=args.config, arch=args.arch, flavour=args.flavour)
- print(a.to_config(conf))
+ if conf:
+ print(a.to_config(conf))
def do_import(args):
# Determine arch and flavour