summaryrefslogtreecommitdiff
path: root/scripts/update_device.py
diff options
context:
space:
mode:
authormarkdr <markdr@google.com>2017-10-20 13:58:06 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2017-10-21 00:14:19 +0000
commit5c9082dd722318d736158a90ff85a9d57bc0ffe5 (patch)
treefd7bf6e63036f8de90696e3613f7ef187f8923af /scripts/update_device.py
parent684c9cdc6c43992cf700618b4a87e4a723b4c9c3 (diff)
Defaults update_device to use only compatible python versions
update_device imports BaseHTTPServer, which is python2 only. If python3 is the default python, an import error will be thrown. Test: Set default python to 3.4. Call update_device.py Change-Id: Id053e695c334c597736b9844e11be389264700ea
Diffstat (limited to 'scripts/update_device.py')
-rwxr-xr-xscripts/update_device.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_device.py b/scripts/update_device.py
index 1a0daf8d..b2452ac9 100755
--- a/scripts/update_device.py
+++ b/scripts/update_device.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
#
# Copyright (C) 2017 The Android Open Source Project
#