From 588b3e61812978f73d2708ec37da30726ac8026e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 29 Dec 2009 16:07:54 +0100 Subject: python: When updating sys.path to include the Samba python path, avoid throwing away the changes made by site.py. --- source4/scripting/python/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/python/modules.h') diff --git a/source4/scripting/python/modules.h b/source4/scripting/python/modules.h index 6b242ee2577..4d1067cdd44 100644 --- a/source4/scripting/python/modules.h +++ b/source4/scripting/python/modules.h @@ -21,7 +21,7 @@ #define __SAMBA_PYTHON_MODULES_H__ void py_load_samba_modules(void); -void py_update_path(const char *bindir); +bool py_update_path(const char *bindir); #define py_iconv_convenience(mem_ctx) smb_iconv_convenience_init(mem_ctx, "ASCII", PyUnicode_GetDefaultEncoding(), true) -- cgit