)]}'
{"freezer_dr/main.py":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"10804fbbe282866c827106db6e573dd9522bd855","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":13,"context_line":"# limitations under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from __future__ import print_function"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from freezer_dr.common import config"},{"line_number":18,"context_line":"from oslo_config import cfg"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_7beb7311","line":15,"updated":"2018-06-07 14:11:49.000000000","message":"This should only be needed for earlier version of python2 than what we are supporting, right? Should be able to just correct the print() call below without this.","commit_id":"f9766e11875b0a4d5bb72d4e03317833b07d08c2"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"ff23dc7bfcf6641099d8fb3a81db659f6fd0a659","unresolved":false,"context_lines":[{"line_number":12,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":13,"context_line":"# limitations under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from __future__ import print_function"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"from freezer_dr.common import config"},{"line_number":18,"context_line":"from oslo_config import cfg"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_fb66a355","line":15,"in_reply_to":"5f7c97a3_7beb7311","updated":"2018-06-07 14:31:05.000000000","message":"print is a statement under all versions of python 2. It is possible, with a single argument, to wrap the argument to print in () because the interpreter turns that expression into the single value again. Importing print_function from __future__ changes print to actually be a function, so that if someone comes along later and adds a second argument the output is the expected concatenated string instead of the repr of a tuple.\n\n  \u003e\u003e\u003e print\n  \n  \u003e\u003e\u003e print(\u0027a\u0027)\n  a\n  \u003e\u003e\u003e print()\n  ()\n  \u003e\u003e\u003e print(\u0027a\u0027, \u0027b\u0027)\n  (\u0027a\u0027, \u0027b\u0027)\n  \u003e\u003e\u003e from __future__ import print_function\n  \u003e\u003e\u003e print(\u0027a\u0027, \u0027b\u0027)\n  a b","commit_id":"f9766e11875b0a4d5bb72d4e03317833b07d08c2"}]}
