X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=mod%2Fdistributorapi%2Fdistributor%2Fonboarding_client.py;h=9665561b1904d8bf77a315be936b1872e4b5ef91;hb=c83d2369eb2f0ac40d5acd2db2d7350fe86101e5;hp=d7b07802b5ef500dd16882c07cb8385d138dc555;hpb=2b31b78fb0c6621259898c3553187be4ab0acf8a;p=dcaegen2%2Fplatform.git diff --git a/mod/distributorapi/distributor/onboarding_client.py b/mod/distributorapi/distributor/onboarding_client.py index d7b0780..9665561 100644 --- a/mod/distributorapi/distributor/onboarding_client.py +++ b/mod/distributorapi/distributor/onboarding_client.py @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2019-2022 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -30,6 +30,4 @@ def get_component(onboarding_url, name, version): def get_components_indexed(onboarding_url, list_name_version): - return dict([ - ((c[0], c[1]), get_component(onboarding_url, c[0], c[1])) - for c in list_name_version]) + return dict([((c[0], c[1]), get_component(onboarding_url, c[0], c[1])) for c in list_name_version])