Index: tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
diff --git a/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py b/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
index a574778a6ca01b9c743221342436977986d6f31a..52021ac612cf467db45ddd8dcb10a172b0c1a1df 100644 |
--- a/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
+++ b/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py |
@@ -269,8 +269,8 @@ class CrOSBrowserBackend(chrome_browser_backend.ChromeBrowserBackend): |
except (exceptions.TabCrashException, util.TimeoutException, |
IndexError): |
retries -= 1 |
- logging.warn('TabCrashException/TimeoutException in ' |
- 'new tab creation/navigation, ' |
- 'remaining retries %d' % retries) |
+ logging.warning('TabCrashException/TimeoutException in ' |
achuithb
2014/05/15 18:10:22
Turns out both warn and warning work :)
|
+ 'new tab creation/navigation, ' |
+ 'remaining retries %d', retries) |
if not retries: |
raise |