diff options
Diffstat (limited to 'binary_search_tool/bisect_driver.py')
-rw-r--r-- | binary_search_tool/bisect_driver.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/binary_search_tool/bisect_driver.py b/binary_search_tool/bisect_driver.py index 21dd11fa..6a69fbf4 100644 --- a/binary_search_tool/bisect_driver.py +++ b/binary_search_tool/bisect_driver.py @@ -2,6 +2,9 @@ # # This script is used to help the compiler wrapper in the ChromeOS and # Android build systems bisect for bad object files. +# +# pylint: disable=not-callable +# pylint: disable=indentation """Utilities for bisection of ChromeOS and Android object files. This module contains a set of utilities to allow bisection between @@ -139,7 +142,8 @@ def get_obj_path(execargs): # Ignore args that do not create a file. if obj_path in ( '-', - '/dev/null',): + '/dev/null', + ): return '' # Ignore files ending in .tmp. if obj_path.endswith(('.tmp',)): @@ -237,6 +241,7 @@ def cache_file(execargs, bisect_dir, cache, abs_file_path): bisect_dir: The directory where bisection caches live. cache: Which cache the file will be cached to (GOOD/BAD). abs_file_path: Absolute path to file being cached. + Returns: True if caching was successful, False otherwise. """ |