summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-07 18:55:14 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-07 21:07:04 +0200
commit24f6eaa8f4aebf1e3aad59d52bdbfa88532be881 (patch)
treebff736f6bf58bf7a52571d064f7589d22abd0fe4 /source4
parent3bcb8710fdb502028e61ab12ae847cb9a7364ae9 (diff)
downloadsamba-24f6eaa8f4aebf1e3aad59d52bdbfa88532be881.tar.gz
samba-24f6eaa8f4aebf1e3aad59d52bdbfa88532be881.tar.bz2
samba-24f6eaa8f4aebf1e3aad59d52bdbfa88532be881.zip
sd_utils: Fix some formatting, add module docstring.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 7 21:07:04 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/sd_utils.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/sd_utils.py b/source4/scripting/python/samba/sd_utils.py
index 4694f4cc76..ea8f2e7d0b 100644
--- a/source4/scripting/python/samba/sd_utils.py
+++ b/source4/scripting/python/samba/sd_utils.py
@@ -18,15 +18,17 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Utility methods for security descriptor manipulation."""
+
import samba
from ldb import Message, MessageElement, Dn
from ldb import FLAG_MOD_REPLACE, SCOPE_BASE
from samba.ndr import ndr_pack, ndr_unpack
from samba.dcerpc import security
-class SDUtils:
- '''Some utilities for manipulation of security descriptors
- on objects'''
+class SDUtils(object):
+ """Some utilities for manipulation of security descriptors
+ on objects"""
def __init__(self, samdb):
self.ldb = samdb