summaryrefslogtreecommitdiffstats
path: root/apex
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-09-20 20:44:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-20 20:44:10 +0000
commit3b0786b9181b944cbcc126ceb85c063924c8744c (patch)
tree90b666b7d6c78c02a6548ff555df7f2976426315 /apex
parent72759c59fb710360cd55e27c6f803d2af2c149d3 (diff)
parent62b4d6bddc724219facb0ff1da3104d6be29b7ca (diff)
Merge "Minor fixes to clean" into stable/euphrates
Diffstat (limited to 'apex')
-rw-r--r--apex/clean.py1
-rw-r--r--apex/network/jumphost.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/apex/clean.py b/apex/clean.py
index efea0ff2..9d0e648e 100644
--- a/apex/clean.py
+++ b/apex/clean.py
@@ -134,5 +134,6 @@ def main():
logging.info('Apex clean complete!')
+
if __name__ == '__main__':
main()
diff --git a/apex/network/jumphost.py b/apex/network/jumphost.py
index 96b06cba..c28c105e 100644
--- a/apex/network/jumphost.py
+++ b/apex/network/jumphost.py
@@ -297,6 +297,7 @@ def remove_ovs_bridge(network):
"ifcfg-{}".format(bridge))
if os.path.isfile(bridge_ifcfg_file):
os.remove(bridge_ifcfg_file)
- logging.debug("Bridge ifcfg file removed: {}".format)
+ logging.debug("Bridge ifcfg file removed: {}".format(
+ bridge_ifcfg_file))
else:
logging.debug('Bridge ifcfg file not found')