summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-21 21:33:30 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-09-21 22:54:37 -0700
commit118c6548bbc4d1ff889688372190a4503fc2855f (patch)
tree84eb2ba4e47a4da3e08ab3a5d1f35772f689bea8 /source4/scripting
parent7c1b00f4a80ee5eb91333cad9c27ba699c6b2e3b (diff)
downloadsamba-118c6548bbc4d1ff889688372190a4503fc2855f.tar.gz
samba-118c6548bbc4d1ff889688372190a4503fc2855f.tar.bz2
samba-118c6548bbc4d1ff889688372190a4503fc2855f.zip
selftest: Fix run for systems without testtools installed.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/pyglue.c2
-rw-r--r--source4/scripting/python/samba/__init__.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index ec15e77a93..1f968e16f9 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -110,8 +110,6 @@ static PyObject *py_set_debug_level(PyObject *self, PyObject *args)
Py_RETURN_NONE;
}
-
-
/*
return the list of interface IPs we have configured
takes an loadparm context, returns a list of IPs in string form
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index 72bbb4a7e3..fb71110600 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -52,6 +52,7 @@ class Ldb(_Ldb):
not necessarily the Sam database. For Sam-specific helper
functions see samdb.py.
"""
+
def __init__(self, url=None, lp=None, modules_dir=None, session_info=None,
credentials=None, flags=0, options=None):
"""Opens a Samba Ldb file.