diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 03:31:26 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-11 03:31:26 +0200 |
commit | 5319d9620b9ef68b3687d76aeaba5fa5d5c57a18 (patch) | |
tree | e82b70c82944de072575b42cd932fcfac772fcbb /source4/scripting/python/uuidmodule.c | |
parent | 0b5a16abe03ee582e3d2d7bf41ed5a0f224f95cb (diff) | |
download | samba-5319d9620b9ef68b3687d76aeaba5fa5d5c57a18.tar.gz samba-5319d9620b9ef68b3687d76aeaba5fa5d5c57a18.tar.bz2 samba-5319d9620b9ef68b3687d76aeaba5fa5d5c57a18.zip |
Use consistent function names with the standard Python uuid module that is available in >= 2.4.
(This used to be commit 60d458e3195eef6baf655fee0da7c3f68517e8e6)
Diffstat (limited to 'source4/scripting/python/uuidmodule.c')
-rw-r--r-- | source4/scripting/python/uuidmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/uuidmodule.c b/source4/scripting/python/uuidmodule.c index 18cfb6ce32..98ef9adaa9 100644 --- a/source4/scripting/python/uuidmodule.c +++ b/source4/scripting/python/uuidmodule.c @@ -46,7 +46,7 @@ static PyObject *uuid_random(PyObject *self, PyObject *args) } static PyMethodDef methods[] = { - { "random", (PyCFunction)uuid_random, METH_VARARGS, NULL}, + { "uuid4", (PyCFunction)uuid_random, METH_VARARGS, NULL}, { NULL, NULL } }; |