Fix bug after reprocessing swig files with newer version of SWIG.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 23 May 2008 01:20:37 +0000 (03:20 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 23 May 2008 01:20:37 +0000 (03:20 +0200)
source/scripting/python/config.m4
source/scripting/python/samba/__init__.py

index 1a86951bfb07d91f5bfcbfee5e730f15a36ccfff..b599aaefb03ccec9dc5ec2c659b0d014b0fd2c6e 100644 (file)
@@ -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
index c7d71d3747288c7b3a50c2b6b729e59b8f8958a8..94f9e4d0055b1d32e97b0dca4e966a6885dcab6f 100644 (file)
@@ -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