summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-08 20:28:11 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-08 23:20:36 +0200
commitcc6e2b8a819c6a1da4e6214be9607aab2de270bb (patch)
treeb7e23031a21be39c314f162e3eb5af80b4e1fdde /source4/lib
parentd7a46ee129c455cba95126e9c0f409522127894e (diff)
downloadsamba-cc6e2b8a819c6a1da4e6214be9607aab2de270bb.tar.gz
samba-cc6e2b8a819c6a1da4e6214be9607aab2de270bb.tar.bz2
samba-cc6e2b8a819c6a1da4e6214be9607aab2de270bb.zip
s4-python: Fix formatting, import of FLG_NOSYNC.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/pyldb.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c
index 737d3fbdff..ce149ccd95 100644
--- a/source4/lib/ldb/pyldb.c
+++ b/source4/lib/ldb/pyldb.c
@@ -2579,11 +2579,10 @@ void initldb(void)
PyModule_AddObject(m, "ERR_AFFECTS_MULTIPLE_DSAS", PyInt_FromLong(LDB_ERR_AFFECTS_MULTIPLE_DSAS));
PyModule_AddObject(m, "ERR_OTHER", PyInt_FromLong(LDB_ERR_OTHER));
- PyModule_AddObject(m, "FLG_RDONLY", PyInt_FromLong(LDB_FLG_RDONLY));
- PyModule_AddObject(m, "FLG_NOSYNC", PyInt_FromLong(LDB_FLG_NOSYNC));
- PyModule_AddObject(m, "FLG_RECONNECT", PyInt_FromLong(LDB_FLG_RECONNECT));
- PyModule_AddObject(m, "FLG_NOMMAP", PyInt_FromLong(LDB_FLG_NOMMAP));
-
+ PyModule_AddObject(m, "FLG_RDONLY", PyInt_FromLong(LDB_FLG_RDONLY));
+ PyModule_AddObject(m, "FLG_NOSYNC", PyInt_FromLong(LDB_FLG_NOSYNC));
+ PyModule_AddObject(m, "FLG_RECONNECT", PyInt_FromLong(LDB_FLG_RECONNECT));
+ PyModule_AddObject(m, "FLG_NOMMAP", PyInt_FromLong(LDB_FLG_NOMMAP));
PyModule_AddObject(m, "__docformat__", PyString_FromString("restructuredText"));