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:
@@ -13,9 +13,9 @@ import shutil
|
||||
import struct
|
||||
import tempfile
|
||||
|
||||
import command
|
||||
import tools
|
||||
import tout
|
||||
from patman import command
|
||||
from patman import tools
|
||||
from patman import tout
|
||||
|
||||
ELF_TOOLS = True
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user