X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=tools%2Frmboard.py;h=06c3562ad8110968f897ae6bf3c1bc5cba0200fa;hb=d181191e1215204d825db7837ed2c64a5196a734;hp=df4f04b01c561cc70a8a8025debdedff26389677;hpb=a9a3a37f92b072a56693ad665ab4c5cc73028d16;p=oweals%2Fu-boot.git diff --git a/tools/rmboard.py b/tools/rmboard.py index df4f04b01c..06c3562ad8 100755 --- a/tools/rmboard.py +++ b/tools/rmboard.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/python3 # SPDX-License-Identifier: GPL-2.0+ # Copyright 2019 Google LLC # @@ -23,8 +23,6 @@ This script works by: Search for ## to update the commit message manually. """ -from __future__ import print_function - import glob import os import re @@ -32,9 +30,8 @@ import sys # Bring in the patman libraries our_path = os.path.dirname(os.path.realpath(__file__)) -sys.path.append(os.path.join(our_path, '../tools/patman')) -import command +from patman import command def rm_kconfig_include(path): """Remove a path from Kconfig files