@classmethod
    def level_for_integer(cls, level):
        levels = cls.LEVELS
        if level < 0:
            return levels[0]
        if len(levels) >= level:
            return levels[-1]
        return levels[level]
dataset/ETHPy150Open tschellenbach/Django-facebook/docs/docs_env/Lib/site-packages/pip-1.0-py2.5.egg/pip/log.py/Logger.level_for_integer/swapped operands of `>=`