def __threaded_do_login(self, email, password):
        """ Thread instance that handles the login process. """
        try:
            self.parent.connection.connect(email, password)
            self.result = "Success"
        except Exception, exception:
            self.result = "%s" % exception
        gobject.idle_add(self.parent.login_callback)
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/LoginWindow.__threaded_do_login/original