Mesa (master): scons: Use print_function ins SConstruct

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 24 18:35:27 UTC 2019


Module: Mesa
Branch: master
Commit: 79e73887e7c9a0c2759e7e66a0e1a90c884ceacb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79e73887e7c9a0c2759e7e66a0e1a90c884ceacb

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Oct 21 09:24:12 2019 -0700

scons: Use print_function ins SConstruct

This ensures that we get python3's print() function behavior even in
python2, instead of python2's print statement behavior. We'll be using
this in the next patch.

Reviewed-by: Eric Anholt <eric at anholt.net>

---

 SConstruct | 1 +
 1 file changed, 1 insertion(+)

diff --git a/SConstruct b/SConstruct
index b5c36cbbc1c..207794c3eb3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -20,6 +20,7 @@
 # to get the full list of options. See scons manpage for more info.
 #
 
+from __future__ import print_function
 import os
 import os.path
 import sys




More information about the mesa-commit mailing list