summaryrefslogtreecommitdiffstats
path: root/apex
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-09-18 14:10:07 -0400
committerTim Rozet <trozet@redhat.com>2017-09-18 21:14:18 -0400
commit024eb9f773d716e041f064c669690e0e2a727877 (patch)
tree77c38fb0cfbde064b97519f9b8c240b0bdf34a16 /apex
parent74336aa1ff8270e701c1e5f20c7a566715ed8d92 (diff)
Minor fixes to clean
Also adds hidden files (like IDE configs) to gitignore Change-Id: Ief595c41c5b4f0fe058f7b774f7a2aefdab733a4 Signed-off-by: Tim Rozet <trozet@redhat.com>
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')