From acf63b28928b33d1335dfed1af7e2d8fc6bb5fc4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 13 Jun 2019 02:24:21 -0400 Subject: drop pyversion & is_python3 checking We're committed to Python 3 at this point, so purge all the is_python3 related dynamic checks. Bug: https://crbug.com/gerrit/10418 Change-Id: I4c8b405d6de359b8b83223c9f4b9c8ffa18ea1a2 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/292383 Reviewed-by: Chris Mcdonald Tested-by: Mike Frysinger --- subcmds/upload.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'subcmds/upload.py') diff --git a/subcmds/upload.py b/subcmds/upload.py index c189e65f..50dccc52 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py @@ -23,11 +23,6 @@ from git_command import GitCommand from git_refs import R_HEADS from hooks import RepoHook -from pyversion import is_python3 -if not is_python3(): - input = raw_input # noqa: F821 -else: - unicode = str UNUSUAL_COMMIT_THRESHOLD = 5 -- cgit v1.2.3-54-g00ecf