The following commit has been merged in the master branch:
commit b4bc8e8d2f3f881068071fa64aa4cbbae09ecec5
Author: Andreas Tille <ti...@debian.org>
Date:   Wed Jan 13 16:35:47 2016 +0100

    Exclude obvious non-html ouput from test (namely .htaccess caused runtime 
error otherwise)

diff --git a/webtools_py3/test_output.py b/webtools_py3/test_output.py
index 5b8630f..8a49c91 100755
--- a/webtools_py3/test_output.py
+++ b/webtools_py3/test_output.py
@@ -119,6 +119,8 @@ def task_file(dir_path, lang=''):
     tasks_files = []
     if isdir(dir_path):
         for f in listdir(dir_path):
+            if not f.endswith('.html'):
+                continue
             if isfile(join(dir_path, f)):
                 tmp = f.split('.')
                 # get names of task files which are in english

-- 
Static and dynamic websites for Debian Pure Blends

_______________________________________________
Blends-commit mailing list
Blends-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit

Reply via email to