nagios_seever/ irc colorize: 2to3 run to move to python3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
b0c7013f73
commit
349dec197c
1 changed files with 2 additions and 2 deletions
|
@ -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()]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue