diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-02-01 14:43:34 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-02-02 15:21:12 +1100 |
commit | 7faa3be45359a94593d22e2bbe7eda0ddffa146c (patch) | |
tree | 7ee07ec41df08a2f9b5032d5997b671820aacdfc /source4/dsdb/tests/python/sam.py | |
parent | 38aacd7a7bc551797d8c60cc695fc4922941add9 (diff) | |
download | samba-7faa3be45359a94593d22e2bbe7eda0ddffa146c.tar.gz samba-7faa3be45359a94593d22e2bbe7eda0ddffa146c.tar.bz2 samba-7faa3be45359a94593d22e2bbe7eda0ddffa146c.zip |
s4-python Ensure we add the Samba python path first.
This exact form of the construction is important, and we match on it
in the installation scripts.
Andrew Bartlett
Diffstat (limited to 'source4/dsdb/tests/python/sam.py')
-rwxr-xr-x | source4/dsdb/tests/python/sam.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/sam.py b/source4/dsdb/tests/python/sam.py index 69dd757048..a623ebc384 100755 --- a/source4/dsdb/tests/python/sam.py +++ b/source4/dsdb/tests/python/sam.py @@ -6,7 +6,7 @@ import optparse import sys import os -sys.path.append("bin/python") +sys.path.insert(0, "bin/python") import samba samba.ensure_external_module("testtools", "testtools") samba.ensure_external_module("subunit", "subunit/python") |