Update print statements to use the new function syntax.
Review Request #4903 — Created Nov. 5, 2013 and submitted — Latest diff uploaded
Update print statements to use the new function syntax.
In python 3,
helpfully included in python 2.6+ with a__future__
import.Several of our print statements existed inside management commands. The
proper way to output inside of a command is withself.stdout.write
(or
self.stderr.write
), so I've updated all of those.
Ran unit tests
djblets/pipeline/compilers/bless.py |
---|
djblets/siteconfig/management/commands/get-siteconfig.py |
---|
djblets/siteconfig/management/commands/set-siteconfig.py |
---|
djblets/testing/testcases.py |
---|
djblets/webapi/tests.py |
---|