#15107: Convert core commands to use self.std(out|err) instead of
sys.std(out|err)/print
-----------------------------+----------------------------------------------
Reporter: mmcnickle | Owner: mmcnickle
Status: new | Milestone: 1.3
Component: django-admin.py | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-----------------------------+----------------------------------------------
Some core management commands are using raw "print" statements and calls
to sys.stdout/sys.stderr instead of self.stdout/self.stderr. This causes
an inconsistency between commands when people specify their own buffers
when using django.core.management.call_command:
{{{
out = StringIO()
err = StringIO()
call_command('command', stdout=out, stderr=err)
...
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/15107>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.