aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2024-02-27 11:13:12 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-04-09 12:01:29 +0200
commit533bb5d5cce1063795d4ddd79d473f9db0c9744f (patch)
tree61dbe238d4655e44b952f79c5f4e999b39baf487
parentfbb59eef840e64b538f064a1aa24d613d015771e (diff)
update link to upper-constraints.txtHEADmaster
Issue-ID: DOC-823 Change-Id: Ib7a0f7b5741088602e7485d1f790e3b3133c5f15 Signed-off-by: thmsdt <thomas.kulik@telekom.de>
-rw-r--r--docs/tox.ini6
-rw-r--r--lcm/ns_vnfs/biz/create_vnfs.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
index ce836cb6..643da684 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -7,7 +7,7 @@ skipsdist = true
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://releases.openstack.org/constraints/upper/yoga
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
@@ -16,7 +16,7 @@ commands =
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://releases.openstack.org/constraints/upper/yoga
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
@@ -25,7 +25,7 @@ commands =
basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
- -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
+ -chttps://releases.openstack.org/constraints/upper/yoga
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
commands =
sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck
diff --git a/lcm/ns_vnfs/biz/create_vnfs.py b/lcm/ns_vnfs/biz/create_vnfs.py
index 6989805f..afb67396 100644
--- a/lcm/ns_vnfs/biz/create_vnfs.py
+++ b/lcm/ns_vnfs/biz/create_vnfs.py
@@ -259,7 +259,7 @@ class CreateVnfs(Thread):
# identifiers.append(vim_info[1])
# cloudOwner = vim_info[0]
identifiers = list()
- if type(self.vim_id) == str:
+ if isinstance(self.vim_id, str):
self.vim_id = json.loads(self.vim_id)
identifiers.append(self.vim_id['cloud_regionid'])
cloudOwner = self.vim_id['cloud_owner']