mitmproxy/libmproxy/platform/__init__.py
2012-06-30 15:42:10 +12:00

10 lines
185 B
Python

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