mitmproxy/libmproxy/platform/__init__.py
2014-07-01 15:08:42 -07:00

13 lines
255 B
Python

import sys
resolver = None
if sys.platform == "linux2":
import linux
resolver = linux.Resolver
elif sys.platform == "darwin":
import osx
resolver = osx.Resolver
elif sys.platform == "freebsd10":
import osx
resolver = osx.Resolver