aboutsummaryrefslogtreecommitdiff
path: root/tools/rmboard.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-04-28 09:52:01 -0400
committerTom Rini <trini@konsulko.com>2020-04-28 09:52:01 -0400
commit545c747447706d9601cc5c65a85ec44e688bfe08 (patch)
tree398a874161673df9656e271a6dbb4b127a45f725 /tools/rmboard.py
parent08977f873f4034307796173784fc17a11188a0cb (diff)
parentc1f39edc62adc81775e750957aa557bcf994e607 (diff)
downloadu-boot-545c747447706d9601cc5c65a85ec44e688bfe08.zip
u-boot-545c747447706d9601cc5c65a85ec44e688bfe08.tar.gz
u-boot-545c747447706d9601cc5c65a85ec44e688bfe08.tar.bz2
Merge tag 'dm-pull-27apr20' of git://git.denx.de/u-boot-dm
Move Python tools to use absolute paths Minor buildman fixes for new features Make libfdt code more similar to upsteam
Diffstat (limited to 'tools/rmboard.py')
-rwxr-xr-xtools/rmboard.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/rmboard.py b/tools/rmboard.py
index df4f04b..06c3562 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