From 9109b3cc8cca05f34d3ddee062cf7f8bc401af31 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 2 May 2015 16:17:00 +1200 Subject: Massive refactoring to split up language implementation. --- libpathod/utils.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'libpathod/utils.py') diff --git a/libpathod/utils.py b/libpathod/utils.py index 431ba747..e1ec013f 100644 --- a/libpathod/utils.py +++ b/libpathod/utils.py @@ -44,17 +44,6 @@ def parse_size(s): raise ValueError("Invalid size specification.") -def get_header(val, headers): - """ - Header keys may be Values, so we have to "generate" them as we try the match. - """ - for h in headers: - k = h.key.get_generator({}) - if len(k) == len(val) and k[:].lower() == val.lower(): - return h - return None - - def parse_anchor_spec(s): """ Return a tuple, or None on error. -- cgit v1.2.3