/usr/lib/python2.7/dist-packages/celery/utils/encoding.py is in python-celery 3.1.20-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 14 | # -*- coding: utf-8 -*-
"""
celery.utils.encoding
~~~~~~~~~~~~~~~~~~~~~
This module has moved to :mod:`kombu.utils.encoding`.
"""
from __future__ import absolute_import
from kombu.utils.encoding import ( # noqa
default_encode, default_encoding, bytes_t, bytes_to_str, str_t,
str_to_bytes, ensure_bytes, from_utf8, safe_str, safe_repr,
)
|