From: wangbiao Date: Tue, 23 Apr 2024 09:18:34 +0000 (+0900) Subject: pull from devel X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aae467f3f190941549e35b4534f52f4577b8cf10;p=tools%2Fgbs.git pull from devel Change-Id: Icb808c91fab2c6d8db64d3f26b03eea66a702193 Signed-off-by: wangbiao --- aae467f3f190941549e35b4534f52f4577b8cf10 diff --cc gitbuildsys/conf.py index 07542de,da1742e..3c28ffa --- a/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]