[Blends-commit] [SCM] website branch, master, updated. 02bb478c1de7000525825a3a5307c3020212439c

Andreas Tille tille at debian.org
Mon Jan 25 20:32:37 UTC 2016


The following commit has been merged in the master branch:
commit b4bc8e8d2f3f881068071fa64aa4cbbae09ecec5
Author: Andreas Tille <tille at 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



More information about the Blends-commit mailing list