summaryrefslogtreecommitdiffstats
path: root/scripts/combo-layer
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-19 22:53:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-21 09:37:04 +0000
commit7b43e04424985cf71b9263969830c9e4e9d72e01 (patch)
tree2c29c10c7e397f7d38699226a48cf38e38c5d270 /scripts/combo-layer
parent174cd0d15fb8879a28b9a069a2e504617c0be1a7 (diff)
downloadopenembedded-core-contrib-7b43e04424985cf71b9263969830c9e4e9d72e01.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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/combo-layer')
-rwxr-xr-xscripts/combo-layer2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 9b50e9873da..a634dd69d2a 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -80,7 +80,7 @@ class Configuration(object):
logger.debug("Loading config file %s" % self.conffile)
self.parser = configparser.ConfigParser()
with open(self.conffile) as f:
- self.parser.readfp(f)
+ self.parser.read_file(f)
# initialize default values
self.commit_msg_template = "Automatic commit to update last_revision"