This file is indexed.

/usr/share/zope/Products/ReplaceSupport/Handlers/ZSQLMethod.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__ = 'ZSQLMethodHandler'

class ZSQLMethodHandler( ReplaceHandler ):
	'''search & replace in ZSQLMethods'''

	def getMetaType( self ):
		return 'Z SQL Method'

	def getChangePermission( self ):
		return 'Change Database Methods'
	
	def getBody( self, ob ):
		return ob.src

	def getParams( self, ob ):
		return ob.arguments_src
	
	def manageEdit( self, ob, body, params='' ):
		ob.manage_edit( ob.title, ob.connection_id, params, body )