buildman: Put our local libraries first in the path

If patman is installed on the machine (e.g. in the standard dist-packages
directory), it will find libraries from there in preference to our local
libraries. Adjust the order of the path to ensure that local libraries are
found first.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2016-09-18 16:48:34 -06:00 committed by sjg
parent 745b395aef
commit a556eeebaa
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ import unittest
# Bring in the patman libraries
our_path = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(our_path, '../patman'))
sys.path.insert(1, os.path.join(our_path, '../patman'))
# Our modules
import board