mirror of
https://github.com/samba-team/samba.git
synced 2025-06-03 17:05:54 +03:00
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
This commit is contained in:
parent
38aacd7a7b
commit
7faa3be453
@ -10,7 +10,7 @@ import os
|
||||
import copy
|
||||
import time
|
||||
|
||||
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")
|
||||
|
@ -6,7 +6,7 @@ import optparse
|
||||
import sys
|
||||
import base64
|
||||
import re
|
||||
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")
|
||||
|
@ -5,7 +5,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")
|
||||
|
@ -29,7 +29,7 @@ import sys
|
||||
import time
|
||||
import random
|
||||
|
||||
sys.path.append("bin/python")
|
||||
sys.path.insert(0, "bin/python")
|
||||
import samba
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
|
||||
|
@ -8,7 +8,7 @@ import time
|
||||
import base64
|
||||
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")
|
||||
|
@ -8,7 +8,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")
|
||||
|
@ -8,7 +8,7 @@ import time
|
||||
import random
|
||||
import uuid
|
||||
|
||||
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")
|
||||
|
@ -14,7 +14,7 @@ import base64
|
||||
import time
|
||||
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")
|
||||
|
@ -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")
|
||||
|
@ -8,7 +8,7 @@ import base64
|
||||
import re
|
||||
import random
|
||||
|
||||
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")
|
||||
|
@ -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")
|
||||
|
@ -5,7 +5,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")
|
||||
|
@ -28,7 +28,7 @@ import time
|
||||
import base64
|
||||
from decimal import Decimal
|
||||
|
||||
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")
|
||||
|
@ -30,7 +30,7 @@ import sys
|
||||
import time
|
||||
import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
sys.path.insert(0, "bin/python")
|
||||
|
||||
from ldb import (
|
||||
SCOPE_BASE,
|
||||
|
@ -29,7 +29,7 @@ import sys
|
||||
import time
|
||||
import os
|
||||
|
||||
sys.path.append("bin/python")
|
||||
sys.path.insert(0, "bin/python")
|
||||
|
||||
from ldb import SCOPE_BASE
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user