From 7faa3be45359a94593d22e2bbe7eda0ddffa146c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 1 Feb 2011 14:43:34 +1100 Subject: 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 --- source4/torture/drs/python/repl_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/drs/python/repl_schema.py') diff --git a/source4/torture/drs/python/repl_schema.py b/source4/torture/drs/python/repl_schema.py index a98452ed13..db14c37adf 100644 --- a/source4/torture/drs/python/repl_schema.py +++ b/source4/torture/drs/python/repl_schema.py @@ -32,7 +32,7 @@ import time import random 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") -- cgit