Minor python script cleanup.

[CL 2603915 by Richard Hinckley in Main branch]
This commit is contained in:
Richard Hinckley
2015-06-29 10:10:56 -04:00
committed by Richard.Hinckley@epicgames.com
parent 4358f03198
commit d7ffaa7154

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env python
import sys
f = file(sys.argv[1], 'r')
line = f.readline()
while line:
# Pad the string with an extra space at the end to catch end-of-line block comments.
line = line + " "
line = line.replace("/* ", "/** ")
line = line.replace("// ", "/// ")