summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-11 19:58:23 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-11 23:57:04 +0100
commit90681153ad3af45aa4c09ced28effd2beb2881f1 (patch)
tree276eabcea493451ff9b18261d1b75c23d04fec61
parenta57d7ad772e04634253b3e84d72bc5dbefd1825c (diff)
downloadsamba-90681153ad3af45aa4c09ced28effd2beb2881f1.tar.gz
samba-90681153ad3af45aa4c09ced28effd2beb2881f1.tar.bz2
samba-90681153ad3af45aa4c09ced28effd2beb2881f1.zip
samba-tool: Write diagnostics to stderr rather than stdout.
-rw-r--r--source4/scripting/python/samba/netcmd/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py
index f0cf7809c2..0d6b97f24e 100644
--- a/source4/scripting/python/samba/netcmd/__init__.py
+++ b/source4/scripting/python/samba/netcmd/__init__.py
@@ -172,7 +172,7 @@ class Command(object):
"""Get a logger object."""
import logging
logger = logging.getLogger(name)
- logger.addHandler(logging.StreamHandler(self.outf))
+ logger.addHandler(logging.StreamHandler(self.errf))
return logger