please flake8 about blank lines

This commit is contained in:
Alexandre Fayolle
2014-12-03 09:55:24 +01:00
parent d9cd6c0ba5
commit 3478ab1abb
5 changed files with 5 additions and 2 deletions

View File

@@ -29,11 +29,11 @@ __doc__ = '''Ease working with fixed length records in files'''
import unicodedata
from datetime import datetime, date
def strpdate(str, format):
return datetime.strptime(str, format).date()
class Field(object):
'''Base Field class - fixed length left aligned string field in a record'''
def __init__(self, name, length=1, fillchar=' ', cast=str):

View File

@@ -31,7 +31,6 @@ from openerp.osv import orm, fields
from openerp.tools.translate import _
class banking_transaction_wizard(orm.TransientModel):
_name = 'banking.transaction.wizard'
_description = 'Match transaction'

View File

@@ -7,6 +7,7 @@ import logging
_logger = logging.getLogger(__name__)
def fixchars(line):
"""Fix the characters mangled in the input

View File

@@ -28,8 +28,10 @@ import re
from datetime import datetime
import logging
_logger = logging.getLogger(__name__)
class HSBCParser(object):
def __init__(self):

View File

@@ -33,6 +33,7 @@ from openerp.tools.translate import _
from . import paymul
def strpdate(arg, format='%Y-%m-%d'):
"""shortcut"""
return datetime.strptime(arg, format).date()