]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/flad/test/test4.py
Use print function for Py3 compatibility
[m_lib.git] / m_lib / flad / test / test4.py
index 8103ed9f38e42eb9edce7a9a6fed9032edbf2d54..c42d7826804415ebddeac5cecf6d79233773b971 100755 (executable)
@@ -1,15 +1,16 @@
 #! /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")
-   print "Ok"
+   print("Ok")
 
-   print "Property 'Type' is", conf["Type"]
+   print("Property 'Type' is", conf["Type"])
 
 
 if __name__ == "__main__":