From ae9f470d2b6e44fb87270b41a7694ed3b209da71 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 4 Jun 2015 19:09:38 +1200 Subject: Craft anchor is now specified as a regex Unifies this with anchor points. --- libpathod/utils.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libpathod/utils.py') diff --git a/libpathod/utils.py b/libpathod/utils.py index 1475500a..9bd2812e 100644 --- a/libpathod/utils.py +++ b/libpathod/utils.py @@ -127,8 +127,3 @@ def daemonize(stdin='/dev/null', stdout='/dev/null', stderr='/dev/null'): # pra os.dup2(si.fileno(), sys.stdin.fileno()) os.dup2(so.fileno(), sys.stdout.fileno()) os.dup2(se.fileno(), sys.stderr.fileno()) - - -def matchpath(path, spec): - if path == spec or path.startswith(spec + "/"): - return True -- cgit v1.2.3