[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha2-386-gdec3f42
Jelmer Vernooij
jelmer at samba.org
Sun Jan 13 02:38:44 GMT 2008
The branch, v4-0-test has been updated
via dec3f421be5d7fd4ead3b71f8b69921c41bad39a (commit)
from 1d703dcf3a888e4c8301a4f53a289ff18bf89f75 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test
- Log -----------------------------------------------------------------
commit dec3f421be5d7fd4ead3b71f8b69921c41bad39a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jan 13 03:32:44 2008 +0100
python: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2.
-----------------------------------------------------------------------
Summary of changes:
source/scripting/python/uuidmodule.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/scripting/python/uuidmodule.c b/source/scripting/python/uuidmodule.c
index 02c929d..9b952d3 100644
--- a/source/scripting/python/uuidmodule.c
+++ b/source/scripting/python/uuidmodule.c
@@ -18,7 +18,7 @@
*/
#include "includes.h"
-#include "Python.h"
+#include <Python.h>
#include "librpc/ndr/libndr.h"
static PyObject *uuid_random(PyObject *self, PyObject *args)
@@ -47,11 +47,9 @@ static PyMethodDef methods[] = {
{ NULL, NULL }
};
-PyDoc_STRVAR(param_doc, "UUID helper routines");
-
PyMODINIT_FUNC inituuid(void)
{
- PyObject *mod = Py_InitModule3((char *)"uuid", methods, param_doc);
+ PyObject *mod = Py_InitModule3((char *)"uuid", methods, "UUID helper routines");
if (mod == NULL)
return;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list