commit | 708c35a1efb96bc5a8c94c844530971513b5e267 | [log] [tgz] |
---|---|---|
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | Wed Oct 07 12:45:28 2020 -0400 |
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | Wed Oct 07 12:45:28 2020 -0400 |
tree | 5f80ffd9e906b8885705f32850ebd7c5e1797a26 | |
parent | a885033ff732bba24809c772de2fcb22bad4697d [diff] |
Remember to return True on successful piper init Showing a false-positive due to lack of a return. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
diff --git a/grokmirror/pi_piper.py b/grokmirror/pi_piper.py index 5d5bbfb..69b6627 100755 --- a/grokmirror/pi_piper.py +++ b/grokmirror/pi_piper.py
@@ -78,6 +78,7 @@ fh.write(latest) if shallow: reshallow(repo, latest) + return True def run_pi_repo(repo: str, pipedef: str, dryrun: bool = False, shallow: bool = False,