« Previous | Next » 

Revision c83d0ada

IDc83d0ada0d16a83e3e5d70b941b78472f0e5ac37

Added by Ilias Tsitsimpis about 10 years ago

Fix console output for management commands

From Django's documentation:
When you are using management commands and wish to provide console
output, you should write to self.stdout and self.stderr, instead of
printing to stdout and stderr directly.

This patch fixes the managements commands to use the proper
stdout/stderr objects.

Issue #4948: Log all stdout/stderr for snf-manage invocations

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences