summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2022-01-20 14:29:38 +0800
committerBernard Xiong <[email protected]>2022-01-20 20:51:30 +0800
commitc811ecf998771dc5919d376610382aa11447a751 (patch)
tree9b39bcd3d941f85e276a2563066cc8d634037b60
parentadd72f1d7cc32a8d302f6e5549b82b4ce06a5a9a (diff)
[tool] Fix bug with missing brackets in eclipse.py
-rw-r--r--tools/eclipse.py4
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()