« Previous | Next » 

Revision a442c81d

IDa442c81dbd0f4585c1023d938ac24af1ae9c569f

Added by Ilias Tsitsimpis almost 7 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