This file is indexed.

/usr/lib/python2.7/dist-packages/coffin/staticfiles.py is in python-coffin 2.0.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
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from django.contrib.staticfiles.storage import staticfiles_storage
from coffin.static import StaticExtension


class StaticExtension(StaticExtension):
    """Implements the {% static %} tag as provided by the ``staticfiles``
    contrib module.

    Rreturns the URL to a file using staticfiles' storage backend.

    Usage::

        {% static path [as varname] %}

    Examples::

        {% static "myapp/css/base.css" %}
        {% static variable_with_path %}
        {% static "myapp/css/base.css" as admin_base_css %}
        {% static variable_with_path as varname %}

    """

    @classmethod
    def get_statc_url(cls, path):
        return super(StaticExtension, cls).get_statc_url(
            staticfiles_storage.url(path))