This file is indexed.

/usr/share/pyshared/pyface/api.py is in python-pyface 4.1.0-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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#------------------------------------------------------------------------------
# Copyright (c) 2005, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in enthought/LICENSE.txt and may be redistributed only
# under the conditions described in the aforementioned license.  The license
# is also available online at http://www.enthought.com/licenses/BSD.txt
# Thanks for using Enthought open source!
#
# Author: Enthought, Inc.
# Description: <Enthought pyface package component>
#------------------------------------------------------------------------------


from about_dialog import AboutDialog
from application_window import ApplicationWindow
from clipboard import clipboard, Clipboard
from confirmation_dialog import confirm, ConfirmationDialog
from constant import OK, CANCEL, YES, NO
from dialog import Dialog
from directory_dialog import DirectoryDialog
from file_dialog import FileDialog
from filter import Filter
from gui import GUI
from heading_text import HeadingText
from image_cache import ImageCache
from image_resource import ImageResource
from key_pressed_event import KeyPressedEvent
from message_dialog import error, information, warning, MessageDialog
from progress_dialog import ProgressDialog
from python_editor import PythonEditor
from python_shell import PythonShell
from sorter import Sorter
from splash_screen import SplashScreen
from split_application_window import SplitApplicationWindow
from split_dialog import SplitDialog
from split_panel import SplitPanel
from system_metrics import SystemMetrics
from window import Window
from widget import Widget


###############################################################################
# This part of the module handles widgets that are still wx specific.  This
# will all be removed when everything has been ported to PyQt and pyface
# becomes toolkit agnostic.
###############################################################################

from traits.etsconfig.api import ETSConfig
if ETSConfig.toolkit == 'wx':
    from expandable_panel import ExpandablePanel
    from image_widget import ImageWidget
    from layered_panel import LayeredPanel
    from mdi_application_window import MDIApplicationWindow
    from mdi_window_menu import MDIWindowMenu
    from multi_toolbar_window import MultiToolbarWindow
    from single_choice_dialog import SingleChoiceDialog

    # Fix for broken Pycrust introspect module.
    import util.fix_introspect_bug

del ETSConfig