def __import_backend(self, wishlist):
        candidates = self.__backends[:]
        for wish in wishlist:
            if candidates in wish:
                candidates.remove(wish)
            else:
                wishlist.remove(wish)
        candidates = wishlist + candidates

        for name in candidates:
            backend = self.__try_to_get('%sgui' % name)
        if not backend:
            raise Exception, 'not able to import any GUI backends'
        self.__backend = backend
dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/test/anygui.py/anygui.__import_backend/swapped operands of `in`