diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-11 19:58:23 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-11 23:57:04 +0100 |
commit | 90681153ad3af45aa4c09ced28effd2beb2881f1 (patch) | |
tree | 276eabcea493451ff9b18261d1b75c23d04fec61 | |
parent | a57d7ad772e04634253b3e84d72bc5dbefd1825c (diff) | |
download | samba-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__.py | 2 |
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 |