diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-03-07 16:41:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-07 13:00:40 +0000 |
commit | c8a0da63917302e699f59c612ffe2ab626f02952 (patch) | |
tree | 907909c3b307e90f75dad29c2b848d4df59500aa /meta/recipes-core/systemd | |
parent | e52a3085aa50e296dc8aef80fabd1b1d063977d5 (diff) | |
download | poky-c8a0da63917302e699f59c612ffe2ab626f02952.tar.gz |
metadata.py: return info after fallback methods
If python3 git module is not installed, we fall back to some git
command to get info. A previous commit (b8d22ed6) accidently deleted
the return statement, causing errors like below.
Exception: UnboundLocalError: local variable 'InvalidGitRepositoryError' referenced before assignment
(From OE-Core rev: cd8aedc408afa4f8589f79e4d85befc7cac76ac6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
0 files changed, 0 insertions, 0 deletions