1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

patman: Move to absolute imports

At present patman sets the python path on startup so that it can access
the libraries it needs. If we convert to use absolute imports this is not
necessary.

Move patman to use absolute imports. This requires changes in tools which
use the patman libraries (which is most of them).

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-04-17 18:09:04 -06:00
parent 16287933a8
commit bf776679a7
58 changed files with 154 additions and 149 deletions

View File

@@ -9,10 +9,10 @@ import re
import shutil
import tempfile
import command
import commit
import gitutil
from series import Series
from patman import command
from patman import commit
from patman import gitutil
from patman.series import Series
# Tags that we detect and remove
re_remove = re.compile('^BUG=|^TEST=|^BRANCH=|^Review URL:'