summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-23 03:20:37 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-23 03:20:37 +0200
commit166105b0b6b4c23eeb563562c75abcd6fa8e01e2 (patch)
tree810cb0f715f4b2b1e47f937c9d88cf73201a8843 /source4/scripting/python
parent7cfcec2e9d8ea5ad9619848f60c846e805fb15a2 (diff)
downloadsamba-166105b0b6b4c23eeb563562c75abcd6fa8e01e2.tar.gz
samba-166105b0b6b4c23eeb563562c75abcd6fa8e01e2.tar.bz2
samba-166105b0b6b4c23eeb563562c75abcd6fa8e01e2.zip
Fix bug after reprocessing swig files with newer version of SWIG.
(This used to be commit 2155d76646f4235c8857460f562a9cc4cafe3ab1)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/config.m42
-rw-r--r--source4/scripting/python/samba/__init__.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index 1a86951bfb..b599aaefb0 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -5,7 +5,7 @@ AC_ARG_VAR([PYTHON_VERSION],[The installed Python
will be appended to the Python interpreter
canonical name.])
-AC_PROG_SWIG(1.3.31)
+AC_PROG_SWIG(1.3.35)
AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
if test -z "$PYTHON"; then
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index c7d71d3747..94f9e4d005 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -73,15 +73,15 @@ class Ldb(ldb.Ldb):
self.set_modules_dir(default_ldb_modules_dir)
if credentials is not None:
- self.set_credentials(self, credentials)
+ self.set_credentials(credentials)
if session_info is not None:
- self.set_session_info(self, session_info)
+ self.set_session_info(session_info)
assert misc.ldb_register_samba_handlers(self) == 0
if lp is not None:
- self.set_loadparm(self, lp)
+ self.set_loadparm(lp)
def msg(l,text):
print text