Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Modify utils/ code into PEP8 style
[bottlenecks.git]
/
utils
/
infra_setup
/
heat
/
common.py
diff --git
a/utils/infra_setup/heat/common.py
b/utils/infra_setup/heat/common.py
index
28257ac
..
ab0dadf
100755
(executable)
--- a/
utils/infra_setup/heat/common.py
+++ b/
utils/infra_setup/heat/common.py
@@
-97,6
+97,7
@@
def get_heat_api_version():
return api_version
return DEFAULT_HEAT_API_VERSION
return api_version
return DEFAULT_HEAT_API_VERSION
+
def get_nova_api_version():
api_version = os.getenv('OS_COMPUTE_API_VERSION')
if api_version is not None:
def get_nova_api_version():
api_version = os.getenv('OS_COMPUTE_API_VERSION')
if api_version is not None:
@@
-110,4
+111,4
@@
def get_glance_api_version():
if api_version is not None:
log.info("GLANCE_API_VERSION is set in env as '%s'", api_version)
return api_version
if api_version is not None:
log.info("GLANCE_API_VERSION is set in env as '%s'", api_version)
return api_version
- return DEFAULT_GLANCE_API_VERSION
\ No newline at end of file
+ return DEFAULT_GLANCE_API_VERSION