add from __future__ import print_function for compatibility in templates
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 13 Jan 2016 16:12:18 +0000 (17:12 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 13 Jan 2016 16:12:18 +0000 (17:12 +0100)
template.py
test/template.py

index 1ad91c2..c89af30 100644 (file)
@@ -34,6 +34,8 @@ in this docstring, but please keep it brief!
 .. codeauthor:: John Doe, john.doe@intra2net.com
 """
 
+from __future__ import print_function
+
 THE_CONSTANT = None
 """ some constant with docstring *AFTER* the constant. Use this format! """
 
index 251e4de..3d80afa 100644 (file)
@@ -9,6 +9,8 @@ For help see :py:mod:`unittest`
 .. codeauthor:: your name, your.name@intra2net.com
 """
 
+from __future__ import print_function
+
 import unittest
 
 import module_name