add attributes to backend (maintainer, email address and version)

This commit is contained in:
Romain Bignon 2010-03-23 23:43:45 +01:00
commit 825aa80df6
3 changed files with 8 additions and 1 deletions

View file

@ -20,6 +20,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
"""
class Backend:
MAINTAINER = '<unspecifier>'
EMAIL = '<unspecified>'
VERSION = '<unspecified>'
def __init__(self, weboob):
self.weboob = weboob

View file

@ -23,6 +23,10 @@ from weboob.capabilities.messages import ICapMessages, ICapMessagesReply, Messag
from feeds import ArticlesList
class DLFPBackend(Backend, ICapMessages, ICapMessagesReply):
MAINTAINER = 'Romain Bignon'
EMAIL = 'romain@peerfuse.org'
VERSION = '1.0'
def __init__(self, weboob):
Backend.__init__(self, weboob)

View file

@ -33,7 +33,6 @@ class IndexPage(DLFPPage):
pass
class LoginPage(DLFPPage):
def loaded(self):
if self.has_error():
raise BrowserIncorrectPassword()