]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/m_path.py
Use print function for Py3 compatibility
[m_lib.git] / m_lib / m_path.py
index 0131289c1afdbf1b9a7a7ffb31187c0b185c73b7..3cc57c5f1b7283fdf9538ff14a73f6b1609f0124 100755 (executable)
@@ -4,6 +4,7 @@
 # useful function(s) for manipulating paths
 #
 
+from __future__ import print_function
 
 _homedir = None
 
@@ -16,7 +17,7 @@ def get_homedir():
 
 
 def test():
-   print get_homedir()
+   print(get_homedir())
 
 
 if __name__ == "__main__":