| Index: build/android/buildbot/bb_device_status_check.py
|
| diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py
|
| index 2eb3626a9d3ca9b13bb8a57a81979da2df9b053e..6d736a146baa7a26e398b7f81ec526785a4deff5 100755
|
| --- a/build/android/buildbot/bb_device_status_check.py
|
| +++ b/build/android/buildbot/bb_device_status_check.py
|
| @@ -252,7 +252,7 @@ def KillAllAdb():
|
| try:
|
| if 'adb' in p.name:
|
| yield p
|
| - except (psutil.error.NoSuchProcess, psutil.error.AccessDenied):
|
| + except (psutil.NoSuchProcess, psutil.AccessDenied):
|
| pass
|
|
|
| for sig in [signal.SIGTERM, signal.SIGQUIT, signal.SIGKILL]:
|
| @@ -261,12 +261,12 @@ def KillAllAdb():
|
| print 'kill %d %d (%s [%s])' % (sig, p.pid, p.name,
|
| ' '.join(p.cmdline))
|
| p.send_signal(sig)
|
| - except (psutil.error.NoSuchProcess, psutil.error.AccessDenied):
|
| + except (psutil.NoSuchProcess, psutil.AccessDenied):
|
| pass
|
| for p in GetAllAdb():
|
| try:
|
| print 'Unable to kill %d (%s [%s])' % (p.pid, p.name, ' '.join(p.cmdline))
|
| - except (psutil.error.NoSuchProcess, psutil.error.AccessDenied):
|
| + except (psutil.NoSuchProcess, psutil.AccessDenied):
|
| pass
|
|
|
|
|
|
|