This file is indexed.

/usr/lib/python3/dist-packages/defcon/pens/decomposeComponentPointPen.py is in python3-defcon 0.3.5-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
from __future__ import absolute_import
from defcon.pens.glyphObjectPointPen import GlyphObjectPointPen
from defcon.pens.transformPointPen import TransformPointPen
from defcon.objects.component import _defaultTransformation


class DecomposeComponentPointPen(GlyphObjectPointPen):

    def __init__(self, glyph, layer):
        self._layer = layer
        super(DecomposeComponentPointPen, self).__init__(glyph)

    def addComponent(self, baseGlyphName, transformation, identifier=None, **kwargs):
        if baseGlyphName in self._layer:
            baseGlyph = self._layer[baseGlyphName]
            if transformation == _defaultTransformation:
                baseGlyph.drawPoints(self)
            else:
                transformPointPen = TransformPointPen(self, transformation)
                baseGlyph.drawPoints(transformPointPen)