pep8: Fix E303 too many blank lines

This commit is contained in:
Laurent Bachelier 2014-10-11 02:15:28 +02:00
commit f4c17cdc9d
42 changed files with 0 additions and 59 deletions

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.bank import CapBank, AccountNotFound from weboob.capabilities.bank import CapBank, AccountNotFound
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import ValueBackendPassword from weboob.tools.value import ValueBackendPassword

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.bank import CapBank, AccountNotFound from weboob.capabilities.bank import CapBank, AccountNotFound
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import ValueBackendPassword from weboob.tools.value import ValueBackendPassword

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.messages import CantSendMessage, CapMessages, CapMessagesPost from weboob.capabilities.messages import CantSendMessage, CapMessages, CapMessagesPost
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value from weboob.tools.value import ValueBackendPassword, Value

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.bank import CapBank, AccountNotFound from weboob.capabilities.bank import CapBank, AccountNotFound
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value from weboob.tools.value import ValueBackendPassword, Value

View file

@ -9,7 +9,6 @@
# http://sam.zoy.org/wtfpl/COPYING for more details. # http://sam.zoy.org/wtfpl/COPYING for more details.
from weboob.capabilities.video import CapVideo, BaseVideo from weboob.capabilities.video import CapVideo, BaseVideo
from weboob.capabilities.collection import CapCollection, CollectionNotFound from weboob.capabilities.collection import CapCollection, CollectionNotFound
from weboob.tools.backend import Module from weboob.tools.backend import Module

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from decimal import Decimal from decimal import Decimal
import string import string

View file

@ -32,7 +32,6 @@ from datetime import date
from StringIO import StringIO from StringIO import StringIO
__all__ = ['CmbModule'] __all__ = ['CmbModule']

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.bank import CapBank, AccountNotFound from weboob.capabilities.bank import CapBank, AccountNotFound
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.ordereddict import OrderedDict from weboob.tools.ordereddict import OrderedDict

View file

@ -19,7 +19,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from decimal import Decimal from decimal import Decimal
import string import string

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from datetime import datetime, timedelta from datetime import datetime, timedelta
import time import time

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
import re import re
from weboob.capabilities.gallery import CapGallery, BaseGallery from weboob.capabilities.gallery import CapGallery, BaseGallery
from weboob.capabilities.collection import CapCollection, CollectionNotFound from weboob.capabilities.collection import CapCollection, CollectionNotFound

View file

@ -19,8 +19,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.video import CapVideo, BaseVideo from weboob.capabilities.video import CapVideo, BaseVideo
from weboob.tools.backend import Module from weboob.tools.backend import Module
from weboob.capabilities.collection import CapCollection, CollectionNotFound from weboob.capabilities.collection import CapCollection, CollectionNotFound

View file

@ -19,8 +19,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.video import CapVideo, BaseVideo from weboob.capabilities.video import CapVideo, BaseVideo
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.capabilities.collection import CapCollection, CollectionNotFound from weboob.capabilities.collection import CapCollection, CollectionNotFound

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.geolocip import CapGeolocIp, IpLocation from weboob.capabilities.geolocip import CapGeolocIp, IpLocation
from weboob.tools.backend import Module from weboob.tools.backend import Module
from weboob.deprecated.browser import Browser, BrowserUnavailable from weboob.deprecated.browser import Browser, BrowserUnavailable

View file

@ -30,7 +30,6 @@ from urllib import quote_plus
__all__ = ['GithubBrowser'] __all__ = ['GithubBrowser']
class GithubBrowser(Browser): class GithubBrowser(Browser):
PROTOCOL = 'https' PROTOCOL = 'https'
DOMAIN = 'api.github.com' DOMAIN = 'api.github.com'

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.backend import Module from weboob.tools.backend import Module
from weboob.capabilities.messages import CapMessages, Message, Thread from weboob.capabilities.messages import CapMessages, Message, Thread

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.bank import CapBank, AccountNotFound from weboob.capabilities.bank import CapBank, AccountNotFound
from weboob.capabilities.base import find_object from weboob.capabilities.base import find_object
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.geolocip import CapGeolocIp, IpLocation from weboob.capabilities.geolocip import CapGeolocIp, IpLocation
from weboob.tools.backend import Module from weboob.tools.backend import Module
from weboob.deprecated.browser import StandardBrowser from weboob.deprecated.browser import StandardBrowser

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
import re import re
from weboob.capabilities.gallery import CapGallery, BaseGallery, BaseImage from weboob.capabilities.gallery import CapGallery, BaseGallery, BaseImage

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.capabilities.content import CapContent, Content from weboob.capabilities.content import CapContent, Content
from weboob.tools.value import ValueBackendPassword, Value from weboob.tools.value import ValueBackendPassword, Value

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.bill import CapBill, Subscription, SubscriptionNotFound, Detail from weboob.capabilities.bill import CapBill, Subscription, SubscriptionNotFound, Detail
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import ValueBackendPassword from weboob.tools.value import ValueBackendPassword

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
import time import time
import datetime import datetime
from dateutil import tz from dateutil import tz

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.bank import CapBank, AccountNotFound from weboob.capabilities.bank import CapBank, AccountNotFound
from weboob.capabilities.base import find_object from weboob.capabilities.base import find_object
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.library import CapBook from weboob.capabilities.library import CapBook
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import ValueBackendPassword, Value from weboob.tools.value import ValueBackendPassword, Value

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.messages import CantSendMessage, CapMessages, CapMessagesPost from weboob.capabilities.messages import CantSendMessage, CapMessages, CapMessagesPost
from weboob.capabilities.account import CapAccount, StatusField from weboob.capabilities.account import CapAccount, StatusField
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig
from weboob.tools.newsfeed import Newsfeed from weboob.tools.newsfeed import Newsfeed
from weboob.tools.value import Value, ValueInt, ValueBackendPassword from weboob.tools.value import Value, ValueInt, ValueBackendPassword

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.base import NotLoaded from weboob.capabilities.base import NotLoaded
from weboob.capabilities.video import CapVideo from weboob.capabilities.video import CapVideo
from weboob.capabilities.radio import CapRadio, Radio from weboob.capabilities.radio import CapRadio, Radio

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.content import CapContent, Content from weboob.capabilities.content import CapContent, Content
from weboob.capabilities.bugtracker import CapBugTracker, Issue, Project, User, \ from weboob.capabilities.bugtracker import CapBugTracker, Issue, Project, User, \
Version, Status, Update, Attachment, \ Version, Status, Update, Attachment, \

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.housing import CapHousing, City, Housing, HousingPhoto from weboob.capabilities.housing import CapHousing, City, Housing, HousingPhoto
from weboob.tools.backend import Module from weboob.tools.backend import Module

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.messages import CantSendMessage, CapMessages, CapMessagesPost from weboob.capabilities.messages import CantSendMessage, CapMessages, CapMessagesPost
from weboob.capabilities.account import CapAccount, StatusField from weboob.capabilities.account import CapAccount, StatusField
from weboob.tools.backend import Module, BackendConfig from weboob.tools.backend import Module, BackendConfig

View file

@ -19,8 +19,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.video import CapVideo from weboob.capabilities.video import CapVideo
from weboob.tools.backend import Module from weboob.tools.backend import Module

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.video import CapVideo, BaseVideo from weboob.capabilities.video import CapVideo, BaseVideo
from weboob.capabilities.collection import CapCollection, CollectionNotFound from weboob.capabilities.collection import CapCollection, CollectionNotFound
from weboob.tools.backend import Module from weboob.tools.backend import Module

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.video import CapVideo, BaseVideo from weboob.capabilities.video import CapVideo, BaseVideo
from weboob.tools.backend import Module from weboob.tools.backend import Module
from weboob.capabilities.collection import CapCollection, CollectionNotFound from weboob.capabilities.collection import CapCollection, CollectionNotFound

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
try: try:
import gdata.youtube.service import gdata.youtube.service
except ImportError: except ImportError:

View file

@ -48,7 +48,6 @@ def method(klass):
return inner return inner
class AbstractElement(object): class AbstractElement(object):
_creation_counter = 0 _creation_counter = 0

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
import stat import stat
import os import os
import sys import sys

View file

@ -422,7 +422,6 @@ class StandardBrowser(mechanize.Browser):
return self.form.__setitem__(key, value) return self.form.__setitem__(key, value)
class Browser(StandardBrowser): class Browser(StandardBrowser):
""" """
Base browser class to navigate on a website. Base browser class to navigate on a website.

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from PyQt4.QtGui import QDialog, QTreeWidgetItem, QLabel, QFormLayout, \ from PyQt4.QtGui import QDialog, QTreeWidgetItem, QLabel, QFormLayout, \
QMessageBox, QPixmap, QImage, QIcon, QHeaderView, \ QMessageBox, QPixmap, QImage, QIcon, QHeaderView, \
QListWidgetItem, QTextDocument, QVBoxLayout, \ QListWidgetItem, QTextDocument, QVBoxLayout, \

View file

@ -18,7 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
import re import re
from weboob.capabilities.gallery import CapGallery, BaseGallery, BaseImage from weboob.capabilities.gallery import CapGallery, BaseGallery, BaseImage

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.paste import CapPaste from weboob.capabilities.paste import CapPaste
import binascii import binascii

View file

@ -18,8 +18,6 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>. # along with weboob. If not, see <http://www.gnu.org/licenses/>.
from ConfigParser import RawConfigParser, DEFAULTSECT from ConfigParser import RawConfigParser, DEFAULTSECT
from decimal import Decimal from decimal import Decimal
import logging import logging

View file

@ -135,7 +135,6 @@ class Value(object):
return isinstance(v, basestring) and v.startswith(u'`') and v.endswith(u'`') return isinstance(v, basestring) and v.startswith(u'`') and v.endswith(u'`')
class ValueBackendPassword(Value): class ValueBackendPassword(Value):
_domain = None _domain = None
_callbacks = {} _callbacks = {}