# -*- coding: utf-8 -*-
import logging

logger = logging.getLogger(__name__)

__all__ = []

try:
    str = unicode
    __all__.append('str')
except Exception:
    pass

try:
    FileNotFoundError
except NameError:
    FileNotFoundError = IOError
    __all__.append('FileNotFoundError')

try:
    ModuleNotFoundError
except NameError:
    ModuleNotFoundError = ImportError
    __all__.append('ModuleNotFoundError')

try:
    ConnectionError
except NameError:
    ConnectionError = OSError
    __all__.append('ConnectionError')

try:
    ConnectionRefusedError
except NameError:
    ConnectionRefusedError = ConnectionError
    __all__.append('ConnectionRefusedError')
