From ab845476fe18102a82f97caae562f7da7a9e1213 Mon Sep 17 00:00:00 2001 From: "benjamin.peterson" Date: Mon, 9 Nov 2009 00:52:04 +0000 Subject: [PATCH] Merged revisions 76158 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r76158 | benjamin.peterson | 2009-11-08 18:49:19 -0600 (Sun, 08 Nov 2009) | 1 line convert to use print() function ........ git-svn-id: http://svn.python.org/projects/python/branches/release31-maint@76159 6015fed2-1504-0410-9fe1-9d1591cc4771 --- Tools/scripts/win_add2path.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tools/scripts/win_add2path.py b/Tools/scripts/win_add2path.py index c4f481f94c..b024789dfd 100644 --- a/Tools/scripts/win_add2path.py +++ b/Tools/scripts/win_add2path.py @@ -45,13 +45,13 @@ def modify(): def main(): paths, envpath = modify() if len(paths) > 1: - print "Path(s) added:" - print '\n'.join(paths[1:]) + print("Path(s) added:") + print('\n'.join(paths[1:])) else: - print "No path was added" - print "\nPATH is now:\n%s\n" % envpath - print "Expanded:" - print winreg.ExpandEnvironmentStrings(envpath) + print("No path was added") + print("\nPATH is now:\n%s\n" % envpath) + print("Expanded:") + print(winreg.ExpandEnvironmentStrings(envpath)) if __name__ == '__main__': main() -- 2.11.4.GIT