This file is indexed.

/usr/lib/python2.7/dist-packages/klaus/contrib/app_args.py is in python-klaus 1.2.1-3.

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
import os
from distutils.util import strtobool


def get_args_from_env():
    repos = os.environ.get('KLAUS_REPOS', [])
    if repos:
        repos = repos.split()
    args = (
        repos,
        os.environ['KLAUS_SITE_NAME']
    )
    kwargs = dict(
        htdigest_file=os.environ.get('KLAUS_HTDIGEST_FILE'),
        use_smarthttp=strtobool(os.environ.get('KLAUS_USE_SMARTHTTP', '0')),
        require_browser_auth=strtobool(
            os.environ.get('KLAUS_REQUIRE_BROWSER_AUTH', '0')),
        disable_push=strtobool(os.environ.get('KLAUS_DISABLE_PUSH', '0')),
        unauthenticated_push=strtobool(
            os.environ.get('KLAUS_UNAUTHENTICATED_PUSH', '0')),
        ctags_policy=os.environ.get('KLAUS_CTAGS_POLICY', 'none')
    )
    return args, kwargs