diff options
Diffstat (limited to 'source4/scripting')
-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 |