Commit 3eb3c64e by Fred Smith

unicode

parent 58a1dd3e
......@@ -117,7 +117,7 @@ def main():
counts_incremental[id] += 1
id += '-' + str(counts_incremental[id])
print 'Host ' + args.prefix + id
print 'Host ' + args.prefix.decode("ascii", "ignore") + id.decode("ascii", "ignore")
print ' HostName ' + ip
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment