Import print_function from __future__ for python compatibility

This alters the behaviour of python2's print statement to be compatible
with python3's print function. While not strictly necessary for now,
this might help future compatibility.
Thanks to Seppo Yli-Olli (@nanonyme) for suggesting this.
This commit is contained in:
Mayeul Cantan 2018-08-24 09:18:36 +02:00
parent 9c3667c083
commit 0f80f2f52c
3 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,8 @@
#NOTE: If you make modifications here, consider whether they should
#be duplicated in ../vrclient/gen_wrapper.py
from __future__ import print_function
import pprint
import sys
import clang.cindex

2
proton
View file

@ -2,6 +2,8 @@
#script to launch Wine with the correct environment
from __future__ import print_function
import filecmp
import json
import os

View file

@ -3,6 +3,8 @@
#NOTE: If you make modifications here, consider whether they should
#be duplicated in ../lsteamclient/gen_wrapper.py
from __future__ import print_function
import pprint
import sys
import clang.cindex