From cbc6a9d99bdd4c7180f5e309de09039d6d9c9dbd Mon Sep 17 00:00:00 2001 From: Zhizhou Yang Date: Thu, 13 Feb 2020 15:51:36 -0800 Subject: toolchain-utils: fix cros lint and some random errors We have enabled --py3 for cros lint and thus reveals some new linting errors in migrated scripts. This patch fixes them and some other random errors. BUG=chromium:1011676 TEST=Passed unittests. Change-Id: If129e01c21845e1b944a2b64e50e9fed7138c845 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2055972 Tested-by: Zhizhou Yang Reviewed-by: George Burgess Commit-Queue: Zhizhou Yang Auto-Submit: Zhizhou Yang --- cros_utils/logger.py | 1 - 1 file changed, 1 deletion(-) (limited to 'cros_utils/logger.py') diff --git a/cros_utils/logger.py b/cros_utils/logger.py index 4cc4618e..e304fe12 100644 --- a/cros_utils/logger.py +++ b/cros_utils/logger.py @@ -207,7 +207,6 @@ class MockLogger(object): def __init__(self, *_args, **_kwargs): self.stdout = sys.stdout self.stderr = sys.stderr - return None def _AddSuffix(self, basename, suffix): return '%s%s' % (basename, suffix) -- cgit v1.2.3