#31428: Allow empty message in management command stdout and stderr proxies
-------------------------------------+-------------------------------------
Reporter: François | Owner: nobody
Freitag |
Type: New | Status: new
feature |
Component: Core | Version: master
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Django management commands wrap stdout and stderr in an `OutputWrapper`
that adds a `\n` at the end of the text provided as the `out` argument.
I suggest allowing `self.stdout.write()` and `self.stderr.write()` to add
a newline to respectively `stdout` and `stderr`. Currently, it fails
because `msg` is a positional argument.
[https://github.com/django/django/pull/12671 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/31428>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/058.dd82af16cf135431fcc926a062270438%40djangoproject.com.