Comment 0 for bug 434311

Revision history for this message
Marco Rodrigues (gothicx) wrote :


I'm fixing bug 414055 in Apport and I found that load() function at Credentials class don't raise and exception error when file doesn't exist. It should raise CredentialsFileError not only when version doesn't match, but also if file doesn't exists.

After that, I could do some try..except..finally to check if credentials file is corrupted or doesn't exist and ask user to generate a new one.

Thank you.