Code Review
/
vvp
/
validation-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
219c0e1
)
Merge "[VVP] All http URLs in requirement link"
author
steven stark
<steven.stark@att.com>
Fri, 26 Jul 2019 01:37:17 +0000
(
01:37
+0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Fri, 26 Jul 2019 01:37:17 +0000
(
01:37
+0000)
ice_validator/vvp.py
patch
|
blob
|
history
diff --git
a/ice_validator/vvp.py
b/ice_validator/vvp.py
index
43baee0
..
8db2d51
100644
(file)
--- a/
ice_validator/vvp.py
+++ b/
ice_validator/vvp.py
@@
-425,7
+425,9
@@
class Config:
@property
def requirement_link_url(self) -> str:
path = self._config["ui"].get("requirement-link-url", "")
- return "file://{}".format(os.path.join(PATH, path))
+ if not path.startswith("http"):
+ path = "file://{}".format(os.path.join(PATH, path))
+ return path
@property
def terms(self) -> dict: