diff options
| author | guozhanxin <[email protected]> | 2022-01-20 14:29:38 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-20 20:51:30 +0800 |
| commit | c811ecf998771dc5919d376610382aa11447a751 (patch) | |
| tree | 9b39bcd3d941f85e276a2563066cc8d634037b60 /tools | |
| parent | add72f1d7cc32a8d302f6e5549b82b4ce06a5a9a (diff) | |
[tool] Fix bug with missing brackets in eclipse.py
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/eclipse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eclipse.py b/tools/eclipse.py index 410952ce20..736fcbc66d 100644 --- a/tools/eclipse.py +++ b/tools/eclipse.py @@ -365,7 +365,7 @@ def UpdateProjectStructure(env, prj_name): out = open('.project', 'w') out.write('<?xml version="1.0" encoding="UTF-8"?>\n') xml_indent(root) - out.write(etree.tostring(root, encoding='utf-8').decode('utf-8') + out.write(etree.tostring(root, encoding='utf-8').decode('utf-8')) out.close() return @@ -504,7 +504,7 @@ def UpdateCproject(env, project, excluding, reset, prj_name): out.write('<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n') out.write('<?fileVersion 4.0.0?>') xml_indent(root) - out.write(etree.tostring(root, encoding='utf-8').decode('utf-8') + out.write(etree.tostring(root, encoding='utf-8').decode('utf-8')) out.close() |
