| Index: build/android/adb_logcat_monitor.py
|
| diff --git a/build/android/adb_logcat_monitor.py b/build/android/adb_logcat_monitor.py
|
| index 6e1a68940b0068ae24e8294f90424a8b5cb682fe..35ef7905b24fcb9a30506f5e0d246d3f52085214 100755
|
| --- a/build/android/adb_logcat_monitor.py
|
| +++ b/build/android/adb_logcat_monitor.py
|
| @@ -108,12 +108,12 @@ def main(base_dir, adb_cmd='adb'):
|
|
|
| # Set up the alarm for calling 'adb devices'. This is to ensure
|
| # our script doesn't get stuck waiting for a process response
|
| - def TimeoutHandler(_, _):
|
| + def TimeoutHandler(_, unused_frame):
|
| raise TimeoutException()
|
| signal.signal(signal.SIGALRM, TimeoutHandler)
|
|
|
| # Handle SIGTERMs to ensure clean shutdown
|
| - def SigtermHandler(_, _):
|
| + def SigtermHandler(_, unused_frame):
|
| raise SigtermError()
|
| signal.signal(signal.SIGTERM, SigtermHandler)
|
|
|
|
|