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

@ -25,6 +25,10 @@ from xml.dom import minidom
from weboob.core.backend import BaseBackend
from weboob.capabilities.weather import ICapWeather, CityNotFound, Current, Forecast
__all__ = ['YWeatherBackend']
class YWeatherBackend(BaseBackend, ICapWeather):
NAME = 'yweather'
MAINTAINER = 'Romain Bignon'
@ -59,4 +63,5 @@ class YWeatherBackend(BaseBackend, ICapWeather):
int(forecast.getAttribute('low')),
int(forecast.getAttribute('high')),
forecast.getAttribute('text'),
'C')
'C',
)