summaryrefslogtreecommitdiff
path: root/source4/scripting/python/modules.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-12-29 16:07:54 +0100
committerJelmer Vernooij <jelmer@ganieda.vernstok.nl>2009-12-29 16:26:20 +0100
commit588b3e61812978f73d2708ec37da30726ac8026e (patch)
tree0181a51f24ace87a41ac09e27cb54d8ce3a6f6c4 /source4/scripting/python/modules.h
parente2c4d8281d726716a00cfe2e3e0352777fc8b66f (diff)
downloadsamba-588b3e61812978f73d2708ec37da30726ac8026e.tar.gz
samba-588b3e61812978f73d2708ec37da30726ac8026e.tar.bz2
samba-588b3e61812978f73d2708ec37da30726ac8026e.zip
python: When updating sys.path to include the Samba python path, avoid throwing away the changes made by site.py.
Diffstat (limited to 'source4/scripting/python/modules.h')
-rw-r--r--source4/scripting/python/modules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/modules.h b/source4/scripting/python/modules.h
index 6b242ee257..4d1067cdd4 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)