python: Use the print function
authorMathieu Bridon <bochecha@daitauha.fr>
Thu, 5 Jul 2018 13:17:32 +0000 (15:17 +0200)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 6 Jul 2018 17:04:22 +0000 (10:04 -0700)
commit0f7b18fa0d353aab0a44082b1aca8d8c00df71a7
treee511fe8f70b48ad5203e3a0e52d0dc1b086bfd91
parentb3a42fa0667caeeebabd9e6aeb46a9534810c2f3
python: Use the print function

In Python 2, `print` was a statement, but it became a function in
Python 3.

Using print functions everywhere makes the script compatible with Python
versions >= 2.6, including Python 3.

Signed-off-by: Mathieu Bridon <bochecha@daitauha.fr>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
38 files changed:
src/amd/common/sid_tables.py
src/amd/vulkan/vk_format_table.py
src/compiler/nir/nir_builder_opcodes_h.py
src/compiler/nir/nir_constant_expressions.py
src/compiler/nir/nir_opcodes_c.py
src/compiler/nir/nir_opcodes_h.py
src/compiler/nir/nir_opt_algebraic.py
src/gallium/auxiliary/indices/u_indices_gen.py
src/gallium/auxiliary/indices/u_unfilled_gen.py
src/gallium/auxiliary/util/u_format_pack.py
src/gallium/auxiliary/util/u_format_table.py
src/gallium/drivers/freedreno/ir3/ir3_nir_trig.py
src/gallium/drivers/r600/egd_tables.py
src/intel/compiler/brw_nir_trig_workarounds.py
src/mapi/glapi/gen/glX_proto_common.py
src/mapi/glapi/gen/glX_proto_send.py
src/mapi/glapi/gen/glX_proto_size.py
src/mapi/glapi/gen/gl_SPARC_asm.py
src/mapi/glapi/gen/gl_XML.py
src/mapi/glapi/gen/gl_apitemp.py
src/mapi/glapi/gen/gl_enums.py
src/mapi/glapi/gen/gl_genexec.py
src/mapi/glapi/gen/gl_gentable.py
src/mapi/glapi/gen/gl_marshal.py
src/mapi/glapi/gen/gl_marshal_h.py
src/mapi/glapi/gen/gl_procs.py
src/mapi/glapi/gen/gl_table.py
src/mapi/glapi/gen/gl_x86-64_asm.py
src/mapi/glapi/gen/gl_x86_asm.py
src/mapi/glapi/gen/remap_helper.py
src/mapi/glapi/gen/typeexpr.py
src/mapi/mapi_abi.py
src/mesa/main/format_info.py
src/mesa/main/format_pack.py
src/mesa/main/format_unpack.py
src/mesa/main/get_hash_generator.py
src/util/format_srgb.py
src/util/xmlpool/gen_xmlpool.py