svn commit: samba r26081 - in branches/4.0-python: . source
source/auth source/auth/credentials/tests source/scripting/python
jelmer at samba.org
jelmer at samba.org
Wed Nov 21 12:32:36 GMT 2007
Author: jelmer
Date: 2007-11-21 12:32:34 +0000 (Wed, 21 Nov 2007)
New Revision: 26081
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26081
Log:
Remove unused file.
Removed:
branches/4.0-python/source/scripting/python/talloc.c
Modified:
branches/4.0-python/
branches/4.0-python/source/BRANCH.TODO
branches/4.0-python/source/auth/config.mk
branches/4.0-python/source/auth/credentials/tests/bindings.py
branches/4.0-python/source/scripting/python/config.mk
Changeset:
Property changes on: branches/4.0-python
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...
Modified: branches/4.0-python/source/BRANCH.TODO
===================================================================
--- branches/4.0-python/source/BRANCH.TODO 2007-11-21 12:31:47 UTC (rev 26080)
+++ branches/4.0-python/source/BRANCH.TODO 2007-11-21 12:32:34 UTC (rev 26081)
@@ -5,3 +5,6 @@
- allow non-top-level modules in build system
- ldb: don't crash when trying to commit a transaction when there is no transaction open
- fix dependency problem for auth.py
+- use Enrico Zini's hack to use doxygen comments for docstrings
+- install python modules
+- skip some warnings when compiling swig files
Modified: branches/4.0-python/source/auth/config.mk
===================================================================
--- branches/4.0-python/source/auth/config.mk 2007-11-21 12:31:47 UTC (rev 26080)
+++ branches/4.0-python/source/auth/config.mk 2007-11-21 12:32:34 UTC (rev 26081)
@@ -94,4 +94,4 @@
$(SUBSYSTEM_LIBCLI_AUTH_OUTPUT) \
$(SUBSYSTEM_LIBCLI_LDAP_OUTPUT) \
$(LIBRARY_NDR_COMPRESSION_OUTPUT) \
- $(LIBRARY_NDR_COMPRESSION_LINK_FLAGS) \
+ $(LIBRARY_NDR_COMPRESSION_LINK_FLAGS)
Modified: branches/4.0-python/source/auth/credentials/tests/bindings.py
===================================================================
--- branches/4.0-python/source/auth/credentials/tests/bindings.py 2007-11-21 12:31:47 UTC (rev 26080)
+++ branches/4.0-python/source/auth/credentials/tests/bindings.py 2007-11-21 12:32:34 UTC (rev 26081)
@@ -17,6 +17,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for the Credentials Python bindings.
+
+Note that this just tests the bindings work. It does not intend to test
+the functionality, that's already done in other tests.
+"""
+
import unittest
import credentials
@@ -72,3 +78,7 @@
self.creds.set_password("geheim")
self.assertEquals('\xc2\xae\x1f\xe6\xe6H\x84cRE>\x81o*\xeb\x93',
self.creds.get_nt_hash())
+
+ def test_guess(self):
+ # Just check the method is there and doesn't raise an exception
+ self.creds.guess()
Modified: branches/4.0-python/source/scripting/python/config.mk
===================================================================
--- branches/4.0-python/source/scripting/python/config.mk 2007-11-21 12:31:47 UTC (rev 26080)
+++ branches/4.0-python/source/scripting/python/config.mk 2007-11-21 12:32:34 UTC (rev 26081)
@@ -1,20 +1,15 @@
-[SUBSYSTEM::talloc_python]
-PRIVATE_DEPENDENCIES = LIBTALLOC LIBPYTHON
-OBJ_FILES = talloc.o
-PUBLIC_PROTO_HEADER = talloc.h
-
[PYTHON::python_param]
-PRIVATE_DEPENDENCIES = LIBSAMBA-CONFIG talloc_python
+PRIVATE_DEPENDENCIES = LIBSAMBA-CONFIG
OBJ_FILES = parammodule.o
[PYTHON::python_uuid]
-PRIVATE_DEPENDENCIES = LIBNDR talloc_python
+PRIVATE_DEPENDENCIES = LIBNDR
OBJ_FILES = uuidmodule.o
[PYTHON::python_sid]
-PRIVATE_DEPENDENCIES = LIBNDR talloc_python
+PRIVATE_DEPENDENCIES = LIBNDR
OBJ_FILES = sidmodule.o
[PYTHON::python_misc]
-PRIVATE_DEPENDENCIES = LIBNDR talloc_python
+PRIVATE_DEPENDENCIES = LIBNDR
OBJ_FILES = miscmodule.o
Deleted: branches/4.0-python/source/scripting/python/talloc.c
===================================================================
--- branches/4.0-python/source/scripting/python/talloc.c 2007-11-21 12:31:47 UTC (rev 26080)
+++ branches/4.0-python/source/scripting/python/talloc.c 2007-11-21 12:32:34 UTC (rev 26081)
@@ -1,30 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
-
- Helper functions for using talloc and Python together
-
- Copyright (C) Jelmer Vernooij 2007
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
-
-#include "includes.h"
-#include "Python.h"
-#include "param/param.h"
-
-TALLOC_CTX *PyMemCtx(void)
-{
- return talloc_autofree_context();
-}
More information about the samba-cvs
mailing list