commit | 7607ebe5dc6f9108763ac40b04bad464770293fe | [log] [tgz] |
---|---|---|
author | Christoffer Quist Adamsen <christofferqa@google.com> | Tue Jun 28 11:52:46 2022 +0200 |
committer | Christoffer Quist Adamsen <christofferqa@google.com> | Tue Jun 28 11:52:46 2022 +0200 |
tree | 6b9b58cdf18bc933a50f522671e64e93deea048c | |
parent | a5e01f5792308cd694ef8fb1a52d27607833aeda [diff] [blame] |
Add --bypass-hooks option to git_sync_cl_chain.py Change-Id: I14c82b9684df1cc4a4f4f0f1b12e22af1eed027b
diff --git a/tools/utils.py b/tools/utils.py index 1fb323f..ecd172c 100644 --- a/tools/utils.py +++ b/tools/utils.py
@@ -209,6 +209,8 @@ self._quiet = quiet def log(self, text): + if len(text.strip()) == 0: + return if self._quiet: if self._has_printed: sys.stdout.write(ProgressLogger.UP + ProgressLogger.CLEAR_LINE)