]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/flad/test/test6.py
Use print function for Py3 compatibility
[m_lib.git] / m_lib / flad / test / test6.py
index ae1131b92b20794a35241e263c3555f1fce1a5da..7e8b1337ba4d9c91ab6c26df78da87a219f1ea48 100755 (executable)
@@ -1,14 +1,15 @@
 #! /usr/bin/env python
 
 
+from __future__ import print_function
 from m_lib.flad import fladc
 
 
 def test():
-   print "Test:",
+   print("Test:", end=' ')
    conf = fladc.load_file("test.cfg", ["Type", "Name"])
    conf.store_to_file("test6.out")
-   print "Ok"
+   print("Ok")
 
 
 if __name__ == "__main__":