projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
3ded6a5
03d07a7
)
pull from devel
author
wangbiao
<biao716.wang@samsung.com>
Tue, 23 Apr 2024 09:18:34 +0000
(18:18 +0900)
committer
wangbiao
<biao716.wang@samsung.com>
Tue, 23 Apr 2024 09:18:34 +0000
(18:18 +0900)
Change-Id: Icb808c91fab2c6d8db64d3f26b03eea66a702193
Signed-off-by: wangbiao <biao716.wang@samsung.com>
1
2
gitbuildsys/conf.py
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
gitbuildsys/conf.py
index 07542de53f7f8bb8eb1898418ed02e5884f39699,da1742e56ef763226e89932e1d5dbdb5f1fbd3a0..3c28ffadf96d3fa520c00a2a07420cf2c9f18925
---
1
/
gitbuildsys/conf.py
---
2
/
gitbuildsys/conf.py
+++ b/
gitbuildsys/conf.py
@@@
-81,11
-81,12
+81,16
@@@
class BrainConfigParser(ConfigParser)
new_lineno = None
new_line_written = False
last_section_line = None
+ # add line break for comment
+ if comment is not None:
+ if not comment.endswith('\n'):
+ comment += '\n'
+ # add line break for comment
+ if comment is not None:
+ if not comment.endswith('\n'):
+ comment += '\n'
+
lineno = -1
for lineno in range(len(self._flines)):
line = self._flines[lineno]