Satisfy flake8

This commit is contained in:
Aldo Cortesi 2016-05-30 12:41:44 +12:00
parent 6ecc6da486
commit e8290a0eb4
3 changed files with 7 additions and 7 deletions

View File

@ -72,7 +72,8 @@ class Heading:
return opt
_neg = lambda: False
def _neg(*args):
return False
class Option:

View File

@ -418,12 +418,16 @@ class FlowList(object):
return
def _pos(*args):
return True
class FlowView(FlowList):
def __init__(self, store, filt=None):
super(FlowView, self).__init__()
if not filt:
filt = lambda flow: True
filt = _pos
self._build(store, filt)
self.store = store

View File

@ -2,11 +2,6 @@ from __future__ import absolute_import, print_function, division
import re
try:
from collections.abc import MutableMapping
except ImportError: # pragma: no cover
from collections import MutableMapping # Workaround for Python < 3.3
import six
from ..multidict import MultiDict
from ..utils import always_bytes