summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/__init__.py
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/scripting/python/samba/__init__.py
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/scripting/python/samba/__init__.py')
-rw-r--r--source4/scripting/python/samba/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index fc369290f9c..a513541da8d 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -103,7 +103,7 @@ class Ldb(_Ldb):
if lp is not None:
nosync_p = lp.get("nosync", "ldb")
if nosync_p is not None and nosync_p == True:
- flags |= FLG_NOSYNC
+ flags |= ldb.FLG_NOSYNC
self.set_create_perms()