This file is indexed.

/usr/share/pyshared/pyramid/configuration.py is in python-pyramid 1.2.3+dfsg-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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
from pyramid.config import Configurator as BaseConfigurator
from pyramid.exceptions import ConfigurationError # API
from pyramid.config import DEFAULT_RENDERERS
from pyramid.path import caller_package

from zope.deprecation import deprecated

ConfigurationError = ConfigurationError # pyflakes

deprecated(
    'ConfigurationError',
    'pyramid.configuration.ConfigurationError is deprecated as of '
    'Pyramid 1.0.  Use ``pyramid.config.ConfigurationError`` instead.')

class Configurator(BaseConfigurator):
    def __init__(self,
                 registry=None,
                 package=None,
                 settings=None,
                 root_factory=None,
                 authentication_policy=None,
                 authorization_policy=None,
                 renderers=DEFAULT_RENDERERS,
                 debug_logger=None,
                 locale_negotiator=None,
                 request_factory=None,
                 renderer_globals_factory=None,
                 default_permission=None,
                 session_factory=None,
                 autocommit=True,
                 route_prefix=None,
                 ):
        if package is None:
            package = caller_package()
        BaseConfigurator.__init__(
            self,
            registry=registry,
            package=package,
            settings=settings,
            root_factory=root_factory,
            authentication_policy=authentication_policy,
            authorization_policy=authorization_policy,
            renderers=renderers,
            debug_logger=debug_logger,
            locale_negotiator=locale_negotiator,
            request_factory=request_factory,
            renderer_globals_factory=renderer_globals_factory,
            default_permission=default_permission,
            session_factory=session_factory,
            autocommit=autocommit,
            route_prefix=route_prefix,
            )
            
deprecated(
    'Configurator',
    'pyramid.configuration.Configurator is deprecated as of Pyramid 1.0.  Use'
    '``pyramid.config.Configurator`` with ``autocommit=True`` instead.')