projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bug 828 inject VCA key only when vnf/vdu-configuration:config-access:ssh-access:requi...
[osm/LCM.git]
/
osm_lcm
/
lcm_utils.py
diff --git
a/osm_lcm/lcm_utils.py
b/osm_lcm/lcm_utils.py
index
bb53d7c
..
2779a25
100644
(file)
--- a/
osm_lcm/lcm_utils.py
+++ b/
osm_lcm/lcm_utils.py
@@
-42,7
+42,9
@@
def versiontuple(v):
"""
filled = []
for point in v.split("."):
- filled.append(point.zfill(16))
+ point, _, _ = point.partition("+")
+ point, _, _ = point.partition("-")
+ filled.append(point.zfill(20))
return tuple(filled)