diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-19 22:53:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-21 09:39:00 +0000 |
commit | 1f5736dbfbf5c596175127b319cbd910e3253962 (patch) | |
tree | af636ef9b76371a409852b1d204591fc0503c89b /scripts | |
parent | ba6501359bee19f06031d49204e126382adc0708 (diff) | |
download | poky-1f5736dbfbf5c596175127b319cbd910e3253962.tar.gz |
scripts/combo-layer: Fix deprecation warning
Resolve:
combo-layer:83: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
(From OE-Core rev: 7b43e04424985cf71b9263969830c9e4e9d72e01)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/combo-layer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer index 9b50e9873d..a634dd69d2 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer | |||
@@ -80,7 +80,7 @@ class Configuration(object): | |||
80 | logger.debug("Loading config file %s" % self.conffile) | 80 | logger.debug("Loading config file %s" % self.conffile) |
81 | self.parser = configparser.ConfigParser() | 81 | self.parser = configparser.ConfigParser() |
82 | with open(self.conffile) as f: | 82 | with open(self.conffile) as f: |
83 | self.parser.readfp(f) | 83 | self.parser.read_file(f) |
84 | 84 | ||
85 | # initialize default values | 85 | # initialize default values |
86 | self.commit_msg_template = "Automatic commit to update last_revision" | 86 | self.commit_msg_template = "Automatic commit to update last_revision" |