1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-18 00:59:12 +03:00

python: When updating sys.path to include the Samba python path, avoid throwing away the changes made by site.py.

This commit is contained in:
Jelmer Vernooij
2009-12-29 16:07:54 +01:00
committed by Jelmer Vernooij
parent e2c4d8281d
commit 588b3e6181
2 changed files with 41 additions and 4 deletions

View File

@ -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)