summaryrefslogtreecommitdiffstats
path: root/platform_utils.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-06-13 02:24:21 -0400
committerMike Frysinger <vapier@google.com>2021-01-06 18:53:58 +0000
commitacf63b28928b33d1335dfed1af7e2d8fc6bb5fc4 (patch)
treee7b65524857d00cec6b36c989659afd1132d15ce /platform_utils.py
parent784ccfc040dc8efa1a64d3c7d4070b66beb15d08 (diff)
downloadgit-repo-acf63b28928b33d1335dfed1af7e2d8fc6bb5fc4.tar.gz
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 <cjmcdonald@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'platform_utils.py')
-rw-r--r--platform_utils.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/platform_utils.py b/platform_utils.py
index 6dd3385d..a280982a 100644
--- a/platform_utils.py
+++ b/platform_utils.py
@@ -15,16 +15,10 @@
15import errno 15import errno
16import os 16import os
17import platform 17import platform
18from queue import Queue
18import select 19import select
19import shutil 20import shutil
20import stat 21import stat
21
22from pyversion import is_python3
23if is_python3():
24 from queue import Queue
25else:
26 from Queue import Queue
27
28from threading import Thread 22from threading import Thread
29 23
30 24