diff options
author | markdr <markdr@google.com> | 2017-10-20 13:58:06 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2017-10-21 00:14:19 +0000 |
commit | 5c9082dd722318d736158a90ff85a9d57bc0ffe5 (patch) | |
tree | fd7bf6e63036f8de90696e3613f7ef187f8923af /scripts/update_device.py | |
parent | 684c9cdc6c43992cf700618b4a87e4a723b4c9c3 (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-x | scripts/update_device.py | 2 |
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 # |