Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Find some bugs and modify the codes
[vfc/gvnfm/vnflcm.git]
/
lcm
/
lcm
/
pub
/
utils
/
values.py
diff --git
a/lcm/lcm/pub/utils/values.py
b/lcm/lcm/pub/utils/values.py
index
19b198e
..
4b7855c
100644
(file)
--- a/
lcm/lcm/pub/utils/values.py
+++ b/
lcm/lcm/pub/utils/values.py
@@
-31,3
+31,6
@@
def get_none(val, def_val=""):
def get_boolean(val, def_val=0):
return 1 if val else 0
+
+def get_integer(val, def_val=0):
+ return val if val else 0
\ No newline at end of file