summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/chromiumos/gen_autosuspend_rules.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/chromiumos/gen_autosuspend_rules.py b/tools/chromiumos/gen_autosuspend_rules.py
index 8bb25a1ccf..6e167f60f0 100644
--- a/tools/chromiumos/gen_autosuspend_rules.py
+++ b/tools/chromiumos/gen_autosuspend_rules.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2017 The Chromium OS Authors. All rights reserved.
@@ -12,8 +12,6 @@ resulting rules file is installed on the device, the script itself
is not.
"""
-from __future__ import print_function
-
# List of USB devices (vendorid:productid) for which it is safe to enable
# autosuspend.
USB_IDS = []