Homec4science

-Removed the "None" return value from BibDoc __init__ method, which was…

Authored by Diane Berkovits <diane.berkovits@cern.ch> on Aug 17 2007, 10:43.

Description

-Removed the "None" return value from BibDoc init method, which was erroneously tested. The instance value is never None even if init returns None, it is still an instance of the class. -Instead init method raises StandardError when something goes wrong. -Updated other methods which instanciate BibDoc object in order to catch error when it cannot be instantiated. -FIXME: no I18N of error messages in this file.

Event Timeline

Diane Berkovits <diane.berkovits@cern.ch> committed R3600:5f6d6ac058ff: -Removed the "None" return value from BibDoc __init__ method, which was… (authored by Diane Berkovits <diane.berkovits@cern.ch>).Aug 17 2007, 10:43