code clean

code clean
This commit is contained in:
Christophe Benz 2010-07-12 03:09:24 +02:00
commit 1847ea5f34
14 changed files with 54 additions and 22 deletions

View file

@ -15,15 +15,20 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from __future__ import with_statement
from logging import warning
from weboob.core.backend import BaseBackend
from weboob.capabilities.messages import ICapMessages, Message
from weboob.tools.backend import BaseBackend
from .browser import FourChan
__all__ = ['FourChanBackend']
class FourChanBackend(BaseBackend, ICapMessages):
NAME = 'fourchan'
MAINTAINER = 'Romain Bignon'
@ -32,7 +37,7 @@ class FourChanBackend(BaseBackend, ICapMessages):
LICENSE = 'GPLv3'
DESCRIPTION = "4chan website"
CONFIG = {'boards': BaseBackend.ConfigField(description='Boards'),
CONFIG = {'boards': BaseBackend.ConfigField(description='Boards'),
}
STORAGE = {'boards': {}}
BROWSER = FourChan