From 5c9082dd722318d736158a90ff85a9d57bc0ffe5 Mon Sep 17 00:00:00 2001 From: markdr Date: Fri, 20 Oct 2017 13:58:06 -0700 Subject: 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 --- scripts/update_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/update_device.py') 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 # -- cgit v1.2.3