Comment 1 for bug 434311

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

I think it also should raise CredentialsFileError at load() if consumer and access_token variables are broken for some reason (someone or some software could remove the consumer_key line from credentials file), like save() function currently does.

This will help to catch only one exception from load() function and not the ones from ConfigParser (MissingSectionHeaderError, NoOptionError).