summaryrefslogtreecommitdiffstats
path: root/mod/distributorapi/distributor/onboarding_client.py
diff options
context:
space:
mode:
authorHansen, Tony (th1395) <th1395@att.com>2022-08-05 22:16:14 +0000
committerHansen, Tony (th1395) <th1395@att.com>2022-08-17 22:10:23 +0000
commitc83d2369eb2f0ac40d5acd2db2d7350fe86101e5 (patch)
treed4549e4aca7248f63a0417d6718a1cfb8445a1ea /mod/distributorapi/distributor/onboarding_client.py
parent2b31b78fb0c6621259898c3553187be4ab0acf8a (diff)
codecoverage improvement
Change-Id: I69cdb741c1e07a096ddd7c85921326070fb08a92 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-3170 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Diffstat (limited to 'mod/distributorapi/distributor/onboarding_client.py')
-rw-r--r--mod/distributorapi/distributor/onboarding_client.py6
1 files changed, 2 insertions, 4 deletions
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])