def translate_path(self, path):
        root = settings.STATIC_DIR
        path = path.split('?', 1)[0].split('#', 1)[0]
        if path.startswith("/static/"):
            path = path[7:]
        path = os.path.normpath(urlparse.unquote(path))
        words = path.split('/')
        words = filter(None, words)

        path = root
        for word in words:
            drive, word = os.path.splitdrive(word)
            head, word = os.path.split(word)
            if (os.curdir, os.pardir) in word:
                continue
            path = os.path.join(path, word)

        return path
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/middleware/static.py/NailgunStaticApp.translate_path/swapped operands of `in`