[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] fix for .swo file expected in installation



commit c3b7f258847a26750991c87a98e03fdeaca2d113
Author: Chelsea H. Komlo <chelsea.komlo@xxxxxxxxx>
Date:   Mon Oct 31 22:30:06 2016 -0500

    fix for .swo file expected in installation
---
 .gitignore                 | 1 +
 test/integ/installation.py | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index fda679b..7f97772 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 *.pyc
 *.swp
+*.swo
 .tox
 test/data/
 docs/_build/
diff --git a/test/integ/installation.py b/test/integ/installation.py
index d068d57..e830446 100644
--- a/test/integ/installation.py
+++ b/test/integ/installation.py
@@ -81,7 +81,8 @@ class TestInstallation(unittest.TestCase):
 
     for root, dirnames, filenames in os.walk(os.path.join(BASE_DIRECTORY, 'stem')):
       for filename in filenames:
-        if not filename.endswith('.pyc') and not filename.endswith('.swp'):
+        if (not filename.endswith('.pyc') and not filename.endswith('.swp') and
+            not filename.endswith('.swo')):
           expected.add(os.path.join(root, filename)[len(BASE_DIRECTORY) + 1:])
 
     for root, dirnames, filenames in os.walk(self.site_packages_path):



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits