diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-06-13 15:05:50 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-13 18:19:03 +0200 |
commit | 956a256faa035fbc43dbd37273d1c5d62aee0735 (patch) | |
tree | 80f7bd6a8d293eb0f0620dbda60cbbe123f8b75e /source4/scripting/python/samba/tests/samdb.py | |
parent | f0afda14ba95bc16ec8ca2377640f4ee13825af9 (diff) | |
download | samba-956a256faa035fbc43dbd37273d1c5d62aee0735.tar.gz samba-956a256faa035fbc43dbd37273d1c5d62aee0735.tar.xz samba-956a256faa035fbc43dbd37273d1c5d62aee0735.zip |
s4-python: Start using standard python logging infrastructure rather
than simple messaging callbacks.
Diffstat (limited to 'source4/scripting/python/samba/tests/samdb.py')
-rw-r--r-- | source4/scripting/python/samba/tests/samdb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/samdb.py b/source4/scripting/python/samba/tests/samdb.py index 73be13ca2a6..9645c0464b4 100644 --- a/source4/scripting/python/samba/tests/samdb.py +++ b/source4/scripting/python/samba/tests/samdb.py @@ -17,6 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # from samba.auth import system_session +import logging import os from samba.provision import setup_samdb, guess_names, make_smbconf, find_setup_dir from samba.tests import TestCaseInTempDir @@ -78,7 +79,7 @@ class SamDBTestCase(TestCaseInTempDir): self.samdb = setup_samdb(path, self.setup_path, session_info, provision_backend, self.lp, names, - lambda x: None, domainsid, + logging.getLogger("samdb"), domainsid, domainguid, policyguid, False, "secret", "secret", "secret", invocationid, |