This file is indexed.

/usr/lib/python3/dist-packages/recurrence/compat.py is in python3-django-recurrence 1.5.0-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
try:
    from django.db.models.fields.subclassing import Creator
except ImportError:
    # This class was removed in Django 1.10, so I've pulled it into
    # django-recurrence.

    class Creator(object):
        """
        A placeholder class that provides a way to set the attribute
        on the model.
        """
        def __init__(self, field):
            self.field = field

        def __get__(self, obj, type=None):
            if obj is None:
                return self
            return obj.__dict__[self.field.name]

        def __set__(self, obj, value):
            obj.__dict__[self.field.name] = self.field.to_python(value)