[Blends-commit] [SCM] website branch, master, updated. 109184b8f351bb7ecf031f5b5dab3ca3e4527336

Ole Streicher olebole at debian.org
Thu Mar 10 07:59:57 UTC 2016


The following commit has been merged in the master branch:
commit 109184b8f351bb7ecf031f5b5dab3ca3e4527336
Author: Ole Streicher <olebole at debian.org>
Date:   Thu Mar 10 08:59:51 2016 +0100

    Remove obsolete regexps for ampersand and javascript detection

diff --git a/webtools/tasks.py b/webtools/tasks.py
index 8b1e2bd..4ed6f56 100755
--- a/webtools/tasks.py
+++ b/webtools/tasks.py
@@ -84,9 +84,6 @@ htaccess = os.path.join(outputdir, '.htaccess')
 htafp = open(htaccess, 'w')
 htafp.write("DirectoryIndex index index.html\nOptions +MultiViews\n")
 
-detect_javascript_code_re = re.compile("onmouseover=\"Tip\(\\'")
-detect_ampersand_code_re  = re.compile("href=\"http://\w+\.debian\.org/.+\?\w+=")
-
 use_dependencystatus = GetDependencies2Use()
 for lang in languages:
     htafp.write("AddLanguage {0} .{1}\n".format(language_dict[lang]['htaccess'], lang))
diff --git a/webtools_py3/tasks_udd.py b/webtools_py3/tasks_udd.py
index 2339cf0..5139939 100755
--- a/webtools_py3/tasks_udd.py
+++ b/webtools_py3/tasks_udd.py
@@ -87,9 +87,6 @@ htaccess = os.path.join(outputdir, 'htaccess')
 htafp = open(htaccess, 'w')
 htafp.write("DirectoryIndex index index.html\nOptions +MultiViews\n")
 
-detect_javascript_code_re = re.compile("onmouseover=\"Tip\(\\'")
-detect_ampersand_code_re  = re.compile("href=\"http://\w+\.debian\.org/.+\?\w+=")
-
 use_dependencystatus = GetDependencies2Use()
 for lang in languages:
     htafp.write("AddLanguage {0} .{1}\n".format(language_dict[lang]['htaccess'], lang))

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list