nagios_seever/ irc colorize: 2to3 run to move to python3

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-07-01 16:44:51 -07:00
parent b0c7013f73
commit 349dec197c

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python3
""" Reads a string from stdin and prints it to stdout with irc colors
:license: LGPLv2+
@ -56,4 +56,4 @@ def colorize(word):
if __name__ == '__main__':
lines = sys.stdin.readlines()
for line in lines:
print " ".join([colorize(word) for word in line.strip().split()])
print(" ".join([colorize(word) for word in line.strip().split()]))