Chromium Code Reviews| Index: dashboard/dashboard/pinpoint/models/quest/find_isolate.py |
| diff --git a/dashboard/dashboard/pinpoint/models/quest/find_isolate.py b/dashboard/dashboard/pinpoint/models/quest/find_isolate.py |
| index 11a2a20dc3558b0a7a89a0ac186a5135ed3db2fb..e3266974aef8f5af3c43cc20e3cf3aae9c5b7583 100644 |
| --- a/dashboard/dashboard/pinpoint/models/quest/find_isolate.py |
| +++ b/dashboard/dashboard/pinpoint/models/quest/find_isolate.py |
| @@ -45,6 +45,11 @@ class _FindIsolateExecution(execution.Execution): |
| self._change = change |
| self._build = None |
| + def _AsDict(self): |
| + return { |
| + 'build': self._build or '', |
|
perezju
2017/08/22 09:49:48
nit: maybe it's fine to return None if the build i
|
| + } |
| + |
| def _Poll(self): |
| # Look for the .isolate in our cache. |
| try: |
| @@ -53,7 +58,8 @@ class _FindIsolateExecution(execution.Execution): |
| isolate_hash = None |
| if isolate_hash: |
| - self._Complete(result_arguments={'isolate_hash': isolate_hash}) |
| + self._Complete( |
| + result_arguments={'isolate_hash': isolate_hash}) |
| return |
| # Check the status of a previously requested build. |