From: Luca Coelho <luciano.coelho@xxxxxxxxx> For some reason, sometimes when the git logs contain non-ascii characters, we get some conversion errors. This only happens if one of the strings we use is explicitly unicode, otherwise everything is fine. The only string we use that is of unicode type is the tree names that comes from the configuration sections. To avoid issues, convert the strings we get from the config file into ascii before using it. Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx> --- devel/git-tracker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/git-tracker.py b/devel/git-tracker.py index 1789ad975154..d51f59ba6507 100755 --- a/devel/git-tracker.py +++ b/devel/git-tracker.py @@ -190,6 +190,8 @@ if __name__ == '__main__': backport_rev = git.rev_parse(tree=source_dir) for tree in trees: + # make sure tree is ascii to prevent conversion problems + tree = str(tree) input = config.get(tree, 'input') output = config.get(tree, 'output') defconfig = None -- 2.18.0 -- To unsubscribe from this list: send the line "unsubscribe backports" in