summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/utils.py b/utils.py
index 8bf00f3..c6e13c2 100644
--- a/utils.py
+++ b/utils.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
#
# Copyright (C) 2020 The Android Open Source Project
#
@@ -32,10 +32,7 @@ class AndroidDevice(object):
def AdbPull(self, src, dst):
cmd = ["adb", "-s", self._serial_number, "pull", src, dst]
- env = os.environ.copy()
- if "ADB_COMPRESSION" not in env:
- env["ADB_COMPRESSION"] = "0"
- subprocess.check_call(cmd, shell=False, env=env, stdin=subprocess.PIPE,
+ subprocess.check_call(cmd, shell=False, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
def Execute(self, *args):