Minor fixes to clean 23/42323/3
authorTim Rozet <trozet@redhat.com>
Mon, 18 Sep 2017 18:10:07 +0000 (14:10 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 19 Sep 2017 01:14:18 +0000 (21:14 -0400)
Also adds hidden files (like IDE configs) to gitignore

Change-Id: Ief595c41c5b4f0fe058f7b774f7a2aefdab733a4
Signed-off-by: Tim Rozet <trozet@redhat.com>
.gitignore
apex/clean.py
apex/network/jumphost.py

index 47eaef6..f42d4c6 100644 (file)
@@ -1,17 +1,11 @@
 *~
 *.pyc
-.*.sw?
-.coverage
 /docs_build/
 /docs_output/
 /releng/
-.build/
-.cache/
-ci/apex_build.log
-ci/apex_deploy.log
-.tox/
 apex.egg-info/
 /apex/tests/playbooks/*.retry
 coverage.xml
 nosetests.xml
-ci/apex_clean.log
+ci/*.log
+.*
index efea0ff..9d0e648 100644 (file)
@@ -134,5 +134,6 @@ def main():
 
     logging.info('Apex clean complete!')
 
+
 if __name__ == '__main__':
     main()
index 96b06cb..c28c105 100644 (file)
@@ -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')