[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-573-gf3ebaf0

Jelmer Vernooij jelmer at samba.org
Fri Jan 25 11:16:35 GMT 2008


The branch, v4-0-test has been updated
       via  f3ebaf0a0c0b881da28063c69bb6306f6aa1c774 (commit)
      from  64babbec22f165e34799d36ff4b76806d9fead50 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit f3ebaf0a0c0b881da28063c69bb6306f6aa1c774
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri Jan 25 12:16:13 2008 +0100

    python: Give precedence to Samba's syspath over the already set system one.

-----------------------------------------------------------------------

Summary of changes:
 source/scripting/python/modules.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/scripting/python/modules.c b/source/scripting/python/modules.c
index fff981e..2ecad20 100644
--- a/source/scripting/python/modules.c
+++ b/source/scripting/python/modules.c
@@ -62,7 +62,7 @@ void py_load_samba_modules(void)
 void py_update_path(const char *bindir)
 {
 	char *newpath;
-	asprintf(&newpath, "%s:%s/python:%s/../scripting/python", Py_GetPath(), bindir, bindir);
+	asprintf(&newpath, "%s/python:%s/../scripting/python:%s", bindir, bindir, Py_GetPath());
 	PySys_SetPath(newpath);
 	free(newpath);
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list