[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/update-script._irkerhook.py_: fix error due to outdated print call.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 1 16:16:39 CET 2020


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit 0467ac2d37d3d4d2665ba2a25cfb9665b1186739
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Jan 1 16:15:59 2020 +0100

    git/hooks/update-script._irkerhook.py_: fix error due to outdated print call.
---
 git/hooks/update-script._irkerhook.py_ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git/hooks/update-script._irkerhook.py_ b/git/hooks/update-script._irkerhook.py_
index f2544cd..b4dda10 100755
--- a/git/hooks/update-script._irkerhook.py_
+++ b/git/hooks/update-script._irkerhook.py_
@@ -126,7 +126,7 @@ class Commit:
                     self.url = ""
             except IOError as e:
                 self.url = ""
-                print "IOError: {0}:{1}".format(e.errno, e.strerror)
+                print("IOError: {0}:{1}".format(e.errno, e.strerror))
         # Fixes a weird error if the log message, author name or email contain
         # unicode characters. This shouldn't happen, since all variables (but
         # self.url) are normal byte strings, correctly encoded.

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list