Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 3f8a16fb5a
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (17 sloc) 0.437 kB
#!/usr/bin/env python
import sys
def main():
fn = sys.argv[1]
f = open(fn, 'rb')
txt = f.read()
f.close()
txt = txt.replace(
'<th class="field-name" colspan="2">',
'<th class="field-name">').replace(
'</tr>\n<tr><td>&nbsp;</td><td class="field-body"></td>',
'<td class="field-body"></td>')
f = open(fn, 'wb')
f.write(txt)
f.close()
if __name__ == '__main__':
main()
Jump to Line
Something went wrong with that request. Please try again.