This file is indexed.

/usr/share/pyshared/hachoir_wx/dialogs.py is in python-hachoir-wx 0.3-2.

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
# -*- coding: utf-8 -*-

import wx, os
from hachoir_core.i18n import _

def file_open_dialog():
    dialog_style = wx.OPEN | wx.FILE_MUST_EXIST

    dialog = wx.FileDialog(
        None, message = _('Open'),
        defaultDir = os.getcwd(), 
        defaultFile = '', style = dialog_style)
    
    return dialog

def file_save_dialog(title):
    dialog_style = wx.SAVE

    dialog = wx.FileDialog(
        None, message = title,
        defaultDir = os.getcwd(),
        defaultFile = '', style = dialog_style)

    return dialog