[Git][NTPsec/ntpsec][master] Make sure to import print_function wherever we use print()

Eric S. Raymond gitlab at mg.gitlab.com
Mon Nov 28 20:22:40 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
47e5df1f by Matt Selsky at 2016-11-28T15:22:27-05:00
Make sure to import print_function wherever we use print()

- - - - -


6 changed files:

- contrib/pi-temp-log
- contrib/temper-temp-log
- wafhelpers/check_libevent2.py
- wafhelpers/configure.py
- wafhelpers/dist.py
- wafhelpers/test.py


Changes:

=====================================
contrib/pi-temp-log
=====================================
--- a/contrib/pi-temp-log
+++ b/contrib/pi-temp-log
@@ -30,6 +30,8 @@ to read your system temperatures will be hardware specific.
 
 """
 
+from __future__ import print_function
+
 import time
 
 now = int(time.time())


=====================================
contrib/temper-temp-log
=====================================
--- a/contrib/temper-temp-log
+++ b/contrib/temper-temp-log
@@ -28,6 +28,7 @@ Sample crontab usage:
 
 """
 
+from __future__ import print_function
 
 import time, subprocess
 


=====================================
wafhelpers/check_libevent2.py
=====================================
--- a/wafhelpers/check_libevent2.py
+++ b/wafhelpers/check_libevent2.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
 from waflib.Logs import pprint
 from wafhelpers.tool import check_sanity
 


=====================================
wafhelpers/configure.py
=====================================
--- a/wafhelpers/configure.py
+++ b/wafhelpers/configure.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
 import sys, os, platform
 from waflib.Configure import conf
 from wafhelpers.probes import *


=====================================
wafhelpers/dist.py
=====================================
--- a/wafhelpers/dist.py
+++ b/wafhelpers/dist.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
 from os import path
 from shutil import copyfile
 from os.path import exists


=====================================
wafhelpers/test.py
=====================================
--- a/wafhelpers/test.py
+++ b/wafhelpers/test.py
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
 from waflib.Logs import pprint
 
 def test_write_log(ctx):



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/47e5df1f281f6c51d3fc69f0b6170d6a820fd416
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161128/c1985e83/attachment.html>


More information about the vc mailing list