This file is indexed.

/usr/share/pyshared/paver/runtime.py is in python-paver 1.2.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
"""Helper functions and data structures used by pavements."""

import warnings

warnings.warn("Import from paver.easy instead of paver.runtime",
              DeprecationWarning, 2)

from paver.easy import *

__all__ = ["Bunch", "task", "Task", "needs", "dry", "error",
           "info", "debug", "call_task", "require_keys", "sh", "options",
           "BuildFailure", "PavementError", "path", 'cmdopts', "consume_args"]


def call_task(task_name, options=None):
    """DEPRECATED. Just call the task instead.
    
    Calls the desired task, including any tasks upon which that task
    depends. options is an optional dictionary that will be added
    to the option lookup search order.
    
    You can always call a task directly by calling the function directly.
    But, if you do so the dependencies aren't called. call_task ensures
    that these are called.
    
    Note that call_task will only call the task `once` during a given
    build as long as the options remain the same. If the options are
    changed, the task will be called again."""
    warnings.warn("Just call the function instead of using call_task",
                  DeprecationWarning, 2)
    task = environment.get_task(task_name)
    task()

def require_keys(keys):
    """GONE. There is no equivalent in Paver 1.0. Calling this
    will raise an exception.
    
    A set of dotted-notation keys that must be present in the
    options for this task to be relevant.
    
    """
    raise PavementError("require_keys is no longer available.")


class PaverImportError(ImportError):
    pass