summaryrefslogtreecommitdiff
path: root/licenses/license_utils.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2018-10-05 22:14:04 +0200
committerAndrej Shadura <andrewsh@debian.org>2018-10-05 22:14:04 +0200
commit166553bf65b664885c8c054d3e3001d7d681af6c (patch)
tree0e1d53d29f6be61e257048cf22bd109eb276429a /licenses/license_utils.py
parentf4b877864f30e12c5aae2bcb6aa9dec171827b66 (diff)
Remove license texts and questionably licensed CSS and JavaScript
Diffstat (limited to 'licenses/license_utils.py')
-rw-r--r--licenses/license_utils.py10
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
-