diff options
author | Andrej Shadura <andrewsh@debian.org> | 2018-10-05 22:14:04 +0200 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2018-10-05 22:14:04 +0200 |
commit | 166553bf65b664885c8c054d3e3001d7d681af6c (patch) | |
tree | 0e1d53d29f6be61e257048cf22bd109eb276429a /licenses/license_utils.py | |
parent | f4b877864f30e12c5aae2bcb6aa9dec171827b66 (diff) |
Remove license texts and questionably licensed CSS and JavaScript
Diffstat (limited to 'licenses/license_utils.py')
-rw-r--r-- | licenses/license_utils.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/licenses/license_utils.py b/licenses/license_utils.py deleted file mode 100644 index bb4479d..0000000 --- a/licenses/license_utils.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python - -import re - -def rewrite_attr(html, elem, attr, source, target): - for element in html.findAll(elem): - if element.has_key(attr): - attr_val = re.sub(source, target, element[attr]) - element[attr] = attr_val - |