mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +03:00
Reduce number of places where sys.path is (possibly) updated for external module paths.
Change-Id: I69d060f27ea090d14405e884d1ce271975358c56 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Nov 30 20:54:04 CET 2014 on sn-devel-104
This commit is contained in:
@ -37,9 +37,7 @@ signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
import optparse
|
||||
import samba
|
||||
import sys
|
||||
samba.ensure_external_module("mimeparse", "mimeparse")
|
||||
samba.ensure_external_module("extras", "extras")
|
||||
samba.ensure_external_module("testtools", "testtools")
|
||||
import samba.tests
|
||||
samba.ensure_external_module("subunit", "subunit/python")
|
||||
import subunit.run
|
||||
|
||||
|
Reference in New Issue
Block a user