Skip to content

Commit

Permalink
Fixes for pep8 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmavirus24 committed Jan 17, 2016
1 parent 67a129c commit 8c7688d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions betamax/matchers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
matcher_registry = {}

from .base import BaseMatcher
from .body import BodyMatcher
from .digest_auth import DigestAuthMatcher
Expand All @@ -10,6 +8,7 @@
from .query import QueryMatcher
from .uri import URIMatcher

matcher_registry = {}

__all__ = ('BaseMatcher', 'BodyMatcher', 'DigestAuthMatcher',
'HeadersMatcher', 'HostMatcher', 'MethodMatcher', 'PathMatcher',
Expand Down
5 changes: 2 additions & 3 deletions betamax/serializers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# -*- coding: utf-8 -*-

serializer_registry = {}

from .base import BaseSerializer
from .json_serializer import JSONSerializer
from .proxy import SerializerProxy

serializer_registry = {}

_serializers = [JSONSerializer]
serializer_registry.update(dict((s.name, s()) for s in _serializers))
del _serializers
Expand Down

0 comments on commit 8c7688d

Please sign in to comment.