def __import_alt__(mod, alt_mod):
    """
    import mod, if that module throws an ImportError, import alt_mod
    """
    try:
        return __import__(mod)
    except ImportError:
        return __import__(alt_mod)
