This file is indexed.

/usr/share/zope/Products/ReplaceSupport/Handlers/PythonMethod.py is in zope-replacesupport 1.0.3-6.

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
from Products.ReplaceSupport.ReplaceHandler import ReplaceHandler

__handler_class_name__ = 'PythonMethodHandler'

class PythonMethodHandler( ReplaceHandler ):
	'''search & replace in PythonMethods'''

	def getMetaType( self ):
		return 'Python Method (Internal)'

	def getChangePermission( self ):
		return 'Change Python Methods'

	def getBody( self, ob ):
		return ob.body()

	def getParams( self, ob ):
		return ob.params()
	
	def manageEdit( self, ob, body, params='' ):
		ob.ZPythonMethod_edit( params, body )