diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-04 19:09:38 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-04 19:09:38 +1200 |
commit | ae9f470d2b6e44fb87270b41a7694ed3b209da71 (patch) | |
tree | 0777260d31afc1ef7b96cd439696c69044e73672 /libpathod/utils.py | |
parent | c5992b8d23e4b312e7ea8a4e74ef23c095c4164f (diff) | |
download | mitmproxy-ae9f470d2b6e44fb87270b41a7694ed3b209da71.tar.gz mitmproxy-ae9f470d2b6e44fb87270b41a7694ed3b209da71.tar.bz2 mitmproxy-ae9f470d2b6e44fb87270b41a7694ed3b209da71.zip |
Craft anchor is now specified as a regex
Unifies this with anchor points.
Diffstat (limited to 'libpathod/utils.py')
-rw-r--r-- | libpathod/utils.py | 5 |
1 files changed, 0 insertions, 5 deletions
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 |