Skip to content

Commit

Permalink
Python3 syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolás committed Oct 6, 2023
1 parent 9e3bcda commit 17110be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/usr/share/issabel/privileged/detect_endpoints
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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',
Expand Down

0 comments on commit 17110be

Please sign in to comment.