def version_creator():
    """Helper function for version_creator UI for Houdini
    """
    # connect to db
    do_db_setup()

    import logging
    from stalker import log
    log.logging_level = logging.WARNING

    from anima.ui import version_creator
    from anima.env import houdini
    reload(houdini)
    reload(version_creator)

    h = houdini.Houdini()

    logger.setLevel(logging.WARNING)

    if 13 <= hou.applicationVersion()[0]:
        version_creator.UI(
            environment=h
        )
    else:
        version_creator.UI(
            environment=h,
            executor=Executor()
        )
dataset/ETHPy150Open eoyilmaz/anima/anima/ui/scripts/houdini.py/version_creator/swapped operands of `<=`