/usr/lib/python2.7/dist-packages/betamax/serializers/__init__.py is in python-betamax 0.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # -*- coding: utf-8 -*-
serializer_registry = {}
from .base import BaseSerializer
from .json_serializer import JSONSerializer
from .proxy import SerializerProxy
_serializers = [JSONSerializer]
serializer_registry.update(dict((s.name, s()) for s in _serializers))
del _serializers
__all__ = ('BaseSerializer', 'JSONSerializer', 'SerializerProxy')
|