bisect-kit: revise output of bisector view command

BUG=None
TEST=run bisectors with view command manually

Change-Id: I3585035aa548ebb8d559e1d6cc8237e329a925c0
Reviewed-on: https://chromium-review.googlesource.com/1396058
Commit-Ready: Kuang-che Wu <kcwu@chromium.org>
Tested-by: Kuang-che Wu <kcwu@chromium.org>
Reviewed-by: Chi-Ngai Wan <cnwan@google.com>
diff --git a/bisect_android_repo.py b/bisect_android_repo.py
index ab46203..a9374fc 100755
--- a/bisect_android_repo.py
+++ b/bisect_android_repo.py
@@ -187,15 +187,19 @@
     url_template = ('https://android-build.googleplex.com/'
                     'builds/{new}/branches/%s/targets/%s/cls?end={old}') % (
                         self.config['branch'], self.config['flavor'])
-    summary.update({
-        'link_note':
-            'Because the diff viewer is inclusive, you need to ignore changes '
-            'from starting version by yourself (b/118564983)',
-        'links': {
-            'change_list': url_template.format(old=old_base, new=new_next),
-            'minus': url_template.format(old=old_base, new=old_base),
+
+    summary['links'] = [
+        {
+            'name': 'change_list',
+            'url': url_template.format(old=old_base, new=new_next),
+            'note': 'Because the diff viewer is inclusive, you need to ignore '
+                    'changes from starting version by yourself (b/118564983)',
         },
-    })
+        {
+            'name': 'minus',
+            'url': url_template.format(old=old_base, new=old_base),
+        },
+    ]
 
     spec_manager = android_util.AndroidSpecManager(self.config)
     cache = repo_util.RepoMirror(self.config['android_mirror'])