python: Convert last type comments to annotations.

We had skipped these in #14693 so we could keep generating a friendly
error on Python 3.5, but we gave that up in #19801.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-03-24 19:32:48 -07:00
committed by Tim Abbott
parent 548dd5a402
commit 2762121162
4 changed files with 5 additions and 5 deletions

View File

@@ -289,7 +289,7 @@ def install_yum_deps(deps_to_install: List[str]) -> None:
#
# Error: Package: moreutils-0.49-2.el7.x86_64 (epel)
# Requires: perl(IPC::Run)
yum_extra_flags = [] # type: List[str]
yum_extra_flags: List[str] = []
if vendor == "rhel":
exitcode, subs_status = subprocess.getstatusoutput("sudo subscription-manager status")
if exitcode == 1: