Close httplib2 connections.
(self)
| 1487 | self.close() |
| 1488 | |
| 1489 | def close(self): |
| 1490 | """Close httplib2 connections.""" |
| 1491 | # httplib2 leaves sockets open by default. |
| 1492 | # Cleanup using the `close` method. |
| 1493 | # https://github.com/httplib2/httplib2/issues/148 |
| 1494 | self._http.close() |
| 1495 | |
| 1496 | def _set_service_methods(self): |
| 1497 | self._add_basic_methods(self._resourceDesc, self._rootDesc, self._schema) |