summaryrefslogtreecommitdiff
path: root/licenses/license_utils.py
diff options
context:
space:
mode:
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
-