This file is indexed.

/usr/share/GvRng/start_activity.py is in gvrng 4.4-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
# -*- coding: utf-8 -*-

# Copyright (c) 2007 Stas Zykiewicz <stas.zytkiewicz@gmail.com>
#
#           start_activity.py
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public License
# as published by the Free Software Foundation.  A copy of this license should
# be included in the file GPL-2.
#
# 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 Library 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.
import logging
logging.getLogger('').setLevel(logging.DEBUG)

from sugar.activity import activity
import gtk

try:
    import gvrng
except:
    logging.getLogger('start_activity').exception("Error importing gvrng")
    
class GvRngActivity(activity.Activity):
    """Start gvrng from Sugar""" 
    def __init__(self, handle):
        activity.Activity.__init__(self,handle)
        self.logger = logging.getLogger("GvRngActivity")
        self.logger.debug("Start gvrng")
        # Start SP
        try:
            gvrng.main(handle=handle,parent=self)
        except:
            self.logger.exception("Error starting gvrng")
            self.close()