From: wangbiao Date: Thu, 21 Mar 2024 11:11:11 +0000 (+0900) Subject: apply python3 code X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ded6a571ff0e37cef62113bf77c1137057e5229;p=tools%2Fgbs.git apply python3 code Change-Id: I176cd1d9cbcffe6a79a4d2ef0072596cea4e72ce Signed-off-by: wangbiao --- 3ded6a571ff0e37cef62113bf77c1137057e5229 diff --cc gitbuildsys/conf.py index 08f936a,54073d7..07542de --- a/gitbuildsys/conf.py +++ b/gitbuildsys/conf.py @@@ -65,9 -67,9 +67,9 @@@ class BrainConfigParser(ConfigParser) self._flines = fptr.readlines() fptr.seek(0) - return SafeConfigParser._read(self, fptr, fname) + return ConfigParser._read(self, fptr, fname) - def _set_into_file(self, section, option, value, replace_opt=None): + def _set_into_file(self, section, option, value, replace_opt=None, comment=None): """Set the value in the file contents Parsing logic and lot of the code was copied directly from the