/usr/lib/python2.7/dist-packages/hachoir_wx/field_view/field_split_menu_fwd.py is in python-hachoir-wx 0.3-3.
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 | # -*- coding: utf-8 -*-
import wx
class field_split_menu_fwd_t:
def __init__(self, imp):
self.imp = imp
def on_field_split_menu_ready(self, dispatcher, view):
assert view is not None
view.Bind(wx.EVT_MENU, self.on_split_bytes,
id = wx.xrc.XRCID('field_menu_split_bytes'))
view.Bind(wx.EVT_MENU, self.on_split_bits,
id = wx.xrc.XRCID('field_menu_split_bits'))
def on_split_bits(self, event):
self.imp.on_split_bits()
def on_split_bytes(self, event):
self.imp.on_split_bytes()
|