This file is indexed.

/usr/share/pyshared/rpy_io.py is in python-rpy 1.0.3-27.

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
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#
#  Basic io.
#
#  $Id: rpy_io.py 181 2005-07-14 06:37:58Z warnes $
#
#

import sys
import os

# Input and output to sys.std{in,out}
def rpy_output(s):
    s = s.replace('_\b','')
    sys.stdout.write(s)
    sys.stdout.flush()

def rpy_input(prompt, n):
    rpy_output(prompt)
    return sys.stdin.readline()[:n-1]


# Show the files in a terminal with a standard pager
def showfiles_tty(files, headers, title, delete):
    PAGER = 'less'
    for file, header in zip(files, headers):
        os.system('%(PAGER)s %(file)s' %locals())


# Show the files via R_stdout (useful for using with idle)
def showfiles_common(files, headers, title, delete):
    rpy_output(title)
    for file, header in zip(files, headers):
        rpy_output(header)
        for line in open(file).readlines():
            rpy_output(line)


# Default
rpy_showfiles = showfiles_common