patman: Tidy up sys.path changes
Now that we are using absolute paths we can remove some of the sys.path mangling that appears in the tools. We only need to add the path to 'tools/' so that everything can find modules relative to that directory. The special paths for finding pylibfdt remain. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -30,7 +30,6 @@ 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'))
|
||||
|
||||
from patman import command
|
||||
|
||||
|
Reference in New Issue
Block a user