From 1ffc273c9433fc8840b71c79879ae427c93313bd Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 7 Jun 2016 17:12:52 +1200 Subject: Utils cleanups - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes. --- pathod/utils.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pathod/utils.py') diff --git a/pathod/utils.py b/pathod/utils.py index 3276198a..9b220e9a 100644 --- a/pathod/utils.py +++ b/pathod/utils.py @@ -17,15 +17,6 @@ class MemBool(object): return bool(v) -def parse_anchor_spec(s): - """ - Return a tuple, or None on error. - """ - if "=" not in s: - return None - return tuple(s.split("=", 1)) - - data = netlib.utils.Data(__name__) -- cgit v1.2.3