From 17110be4c55fa2689614685019643e09d7c60a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s?= Date: Fri, 6 Oct 2023 19:18:41 -0400 Subject: [PATCH] Python3 syntax changes --- setup/usr/share/issabel/privileged/detect_endpoints | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/usr/share/issabel/privileged/detect_endpoints b/setup/usr/share/issabel/privileged/detect_endpoints index 1cc24e7..0fbe79d 100755 --- a/setup/usr/share/issabel/privileged/detect_endpoints +++ b/setup/usr/share/issabel/privileged/detect_endpoints @@ -93,7 +93,7 @@ def main(): sys.stderr.write('ERR: failed to get database credentials\n') sys.exit(1) - print SOCKET_PATH + print(SOCKET_PATH) sys.stdout.flush() # Become a daemon here @@ -107,7 +107,7 @@ def main(): daemonctx.open() server = eventlet.listen(SOCKET_PATH, socket.AF_UNIX) - os.chmod(SOCKET_PATH, 0777) + os.chmod(SOCKET_PATH, 0o777) dbpool = ConnectionPool(MySQLdb, host = 'localhost',