Skip to content

Commit

Permalink
Merge pull request #51 from leighlondon/immutable
Browse files Browse the repository at this point in the history
Make __all__ immutable.
  • Loading branch information
sigmavirus24 committed Jan 1, 2015
2 parents 618423c + ec21aae commit 2c03f6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion betamax/cassette/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .interaction import Interaction
from .mock_response import MockHTTPResponse

__all__ = ['Cassette', 'Interaction', 'MockHTTPResponse']
__all__ = ('Cassette', 'Interaction', 'MockHTTPResponse')
4 changes: 2 additions & 2 deletions betamax/matchers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from .uri import URIMatcher


__all__ = ['BaseMatcher', 'BodyMatcher', 'DigestAuthMatcher',
__all__ = ('BaseMatcher', 'BodyMatcher', 'DigestAuthMatcher',
'HeadersMatcher', 'HostMatcher', 'MethodMatcher', 'PathMatcher',
'QueryMatcher', 'URIMatcher']
'QueryMatcher', 'URIMatcher')


_matchers = [BodyMatcher, DigestAuthMatcher, HeadersMatcher, HostMatcher,
Expand Down
2 changes: 1 addition & 1 deletion betamax/serializers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
serializer_registry.update(dict((s.name, s()) for s in _serializers))
del _serializers

__all__ = ['BaseSerializer', 'JSONSerializer', 'SerializerProxy']
__all__ = ('BaseSerializer', 'JSONSerializer', 'SerializerProxy')

0 comments on commit 2c03f6a

Please sign in to comment.