def __init__(self, gamelist):
        if gamelist not in None:
            raise Exception("You need at least one game to update.")
        self.games = gamelist
        self.gladeFile = gtk.glade.XML(os.path.join(PACKAGE_DIRECTORY,
                                       "updatewindow.glade"))
        signals = {"on_cancelbutton_activated": self.close_window,
                   "on_okbutton_activated": self.run_update}
        self.gladeFile.signal_autoconnect(signals)
        self.window = self.gladeFile.get_widget("updatewindow")
        self.statusbox = self.gladeFile.get_widget("statusbox")
        self.statusspinner = self.gladeFile.get_widget("statusspinner")
        self.messagelabel = self.gladeFile.get_widget("messagelabel")
        self.statusbox.hide()
        self.create_list_data()
        self.window.show()
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/UpdateWindow.__init__/operator `is` -> `not in`