Signed-off-by: Alexander Kanavin <[email protected]>
---
scripts/oe-setup-layers | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/oe-setup-layers b/scripts/oe-setup-layers
index 6c02262663..c8012fa670 100755
--- a/scripts/oe-setup-layers
+++ b/scripts/oe-setup-layers
@@ -112,10 +112,10 @@ parser.add_argument('--jsondata',
default=__file__+".json", help='File containin
args = parser.parse_args()
with open(args.jsondata) as f:
- json = json.load(f)
+ json_f = json.load(f)
supported_versions = ["1.0"]
-if json["version"] not in supported_versions:
- raise Exception("File {} has version {}, which is not in supported
versions: {}".format(args.jsondata, json["version"], supported_versions))
+if json_f["version"] not in supported_versions:
+ raise Exception("File {} has version {}, which is not in supported
versions: {}".format(args.jsondata, json_f["version"], supported_versions))
-_do_checkout(vars(args), json)
+_do_checkout(vars(args), json_f)
--
2.30.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177345):
https://lists.openembedded.org/g/openembedded-core/message/177345
Mute This Topic: https://lists.openembedded.org/mt/97072136/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-