Index: infra_libs/ts_mon/monitors.py |
diff --git a/infra_libs/ts_mon/monitors.py b/infra_libs/ts_mon/monitors.py |
index 1956a2f728f5dc660297e9360a112c23545308c3..6fc9c55cd29faaa468f5f0b285d28b218696c7e4 100644 |
--- a/infra_libs/ts_mon/monitors.py |
+++ b/infra_libs/ts_mon/monitors.py |
@@ -43,11 +43,11 @@ from monacq.proto import metrics_pb2 |
from infra_libs import logs |
import infra_libs |
-import httplib2 |
from apiclient import discovery |
from oauth2client.client import GoogleCredentials |
from oauth2client.file import Storage |
from oauth2client.gce import AppAssertionCredentials |
+import httplib2 |
# Special string that can be passed through as the credentials path to use the |
# default GCE service account. |
@@ -122,7 +122,7 @@ class ApiMonitor(Monitor): |
""" |
try: |
self._api.Send(self._wrap_proto(metric_pb)) |
- except acquisition_api.AcquisitionApiRequestException as e: |
+ except acquisition_api.AcquisitionApiRequestException as e: # pylint: disable=undefined-variable |
Sergey Berezin
2015/08/18 00:40:38
nit: any way to stay within 80 char limit? Maybe t
jshu
2015/08/18 01:15:55
don't think we actually need that comment
|
logging.error('Failed to send the metrics: %s', e) |