|
|
@ -75,7 +75,7 @@ def add_tags(filename): |
|
|
# If there's a single space at the beginning of the line, delete it |
|
|
# If there's a single space at the beginning of the line, delete it |
|
|
line_spaced = line_spaced.lstrip(' ') |
|
|
line_spaced = line_spaced.lstrip(' ') |
|
|
# Add three tabs at the beginning |
|
|
# Add three tabs at the beginning |
|
|
line_spaced = re.sub('^','\t\t\t',line_spaced) |
|
|
line_spaced = re.sub('^','\t\t\t\t\t',line_spaced) |
|
|
Cxml.write(line_spaced) |
|
|
Cxml.write(line_spaced) |
|
|
Cxmltmp.close() |
|
|
Cxmltmp.close() |
|
|
os.remove(tmpxmlfile) |
|
|
os.remove(tmpxmlfile) |
|
|
|