Merge "Align diff view prefs with file list header"
diff --git a/polygerrit-ui/app/elements/admin/gr-repo-access/gr-repo-access.html b/polygerrit-ui/app/elements/admin/gr-repo-access/gr-repo-access.html
index e650023..ed65dae 100644
--- a/polygerrit-ui/app/elements/admin/gr-repo-access/gr-repo-access.html
+++ b/polygerrit-ui/app/elements/admin/gr-repo-access/gr-repo-access.html
@@ -31,15 +31,6 @@
 <dom-module id="gr-repo-access">
   <template>
     <style include="shared-styles">
-      .gwtLink {
-        margin-bottom: 1em;
-      }
-      .gwtLink {
-        display: none;
-      }
-      .admin .gwtLink {
-        display: block;
-      }
       gr-button {
         display: none;
       }
@@ -59,10 +50,6 @@
     </style>
     <style include="gr-menu-page-styles"></style>
     <main class$="[[_computeAdminClass(_isAdmin, _canUpload)]]">
-      <div class="gwtLink">Editing access in the new UI is a work in progress. Visit the
-        <a href$="[[computeGwtUrl(path)]]" rel="external">Old UI</a>
-        if you need a feature that is not yet supported.
-      </div>
       <template is="dom-if" if="[[_inheritsFrom]]">
         <h3 id="inheritsFrom">Rights Inherit From
           <a href$="[[_computeParentHref(_inheritsFrom.name)]]" rel="noopener">
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html
index 45109cd..268b678 100644
--- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html
+++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html
@@ -117,7 +117,7 @@
       }
       .comma,
       .placeholder {
-        color: rgba(0, 0, 0, .87);
+        color: rgba(0, 0, 0, .54);
       }
       @media only screen and (max-width: 50em) {
         :host {
diff --git a/tools/bzl/license-map.py b/tools/bzl/license-map.py
index 79aed37..1c8db72 100644
--- a/tools/bzl/license-map.py
+++ b/tools/bzl/license-map.py
@@ -6,8 +6,8 @@
 
 import argparse
 from collections import defaultdict
+from shutil import copyfileobj
 from sys import stdout, stderr
-import os
 import xml.etree.ElementTree as ET
 
 
@@ -113,8 +113,8 @@
   print()
   print("[[%s_license]]" % safename)
   print("----")
-  with open(n[2:].replace(":", "/"), "rb") as input:
-    os.write(stdout.fileno(), input.read(-1))
+  with open(n[2:].replace(":", "/")) as fd:
+    copyfileobj(fd, stdout)
   print()
   print("----")
   print()
diff --git a/tools/bzl/license.bzl b/tools/bzl/license.bzl
index 38dfbe5..3578173 100644
--- a/tools/bzl/license.bzl
+++ b/tools/bzl/license.bzl
@@ -25,7 +25,7 @@
   # post process the XML into our favorite format.
   native.genrule(
     name = "gen_license_txt_" + name,
-    cmd = "python $(location //tools/bzl:license-map.py) %s %s > $@" % (" ".join(opts), " ".join(xmls)),
+    cmd = "python2 $(location //tools/bzl:license-map.py) %s %s > $@" % (" ".join(opts), " ".join(xmls)),
     outs = [ name + ".txt" ],
     tools = tools,
     **kwargs