Permalink
Browse files

ignore logs better when packaging tests

  • Loading branch information...
1 parent 46bd084 commit b4195029c246a93692c5f57027820315da150c60 Dylan Jay committed Jan 19, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/funkload/utils.py
View
6 src/funkload/utils.py
@@ -329,8 +329,12 @@ def package_tests(module_file):
exclude_func = lambda filename: filename.find(".log")>=0 or\
filename.find(".bak")>=0 or\
filename.find(".pyc")>=0 or\
+ filename.find(".gplot")>=0 or\
+ filename.find(".png")>=0 or\
+ filename.find(".data")>=0 or\
+ filename.find(".xml")>=0 or\
os.path.split(filename)[1] == "bin" or\
- os.path.split(filename)[1] == "lib"
+ os.path.split(filename)[1] == "lib"
_path = tempfile.mktemp(suffix='.tar')
import hashlib

0 comments on commit b419502

Please sign in to comment.