Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
HC Test: add mising sudo to ODL client statup
[csit.git]
/
resources
/
libraries
/
python
/
honeycomb
/
Lisp.py
diff --git
a/resources/libraries/python/honeycomb/Lisp.py
b/resources/libraries/python/honeycomb/Lisp.py
index
8c124d1
..
f89ffed
100644
(file)
--- a/
resources/libraries/python/honeycomb/Lisp.py
+++ b/
resources/libraries/python/honeycomb/Lisp.py
@@
-148,7
+148,7
@@
class LispKeywords(object):
if ret_code == HTTPCodes.OK:
data["lisp"]["enable"] = bool(state)
elif ret_code == HTTPCodes.NOT_FOUND:
if ret_code == HTTPCodes.OK:
data["lisp"]["enable"] = bool(state)
elif ret_code == HTTPCodes.NOT_FOUND:
-
data = {"lisp": {"enable": bool(state)}}
+ data = {"lisp": {"enable": bool(state)}}
else:
raise HoneycombError("Unexpected return code when getting existing"
" Lisp configuration.")
else:
raise HoneycombError("Unexpected return code when getting existing"
" Lisp configuration.")
@@
-340,7
+340,7
@@
class LispKeywords(object):
data = {
"map-request-mode": {
"mode": "source-destination" if src_dst
data = {
"map-request-mode": {
"mode": "source-destination" if src_dst
- else "target-destination"
+
else "target-destination"
}
}
}
}