def closeEven(self): adi = self.txt_kayitAdi.text() email = self.txt_kayitEmail.text() sifre = self.txt_kayitSifre.text() sifreTekrar = self.txt_kayitSifreTekrar.text() u = User(adi, sifre, email,"") if sifreTekrar == sifre: try: Mysql.üyeOl(u) self.dialogTextBrowser.show() self.close() except Exception: print(_uno_extract_printable_stacktrace()) else: self.lbl_kayitSifreHata.setVisible(True)
def lastException2String(): (excType,excInstance,excTraceback) = sys.exc_info() ret = str(excType) + ": "+str(excInstance) + "\n" + \ uno._uno_extract_printable_stacktrace( excTraceback ) return ret
def lastException2String(): excType, excInstance, excTraceback = sys.exc_info() return "{}: {}\n{}".format(excType, excInstance, uno._uno_extract_printable_stacktrace(excTraceback))