This file is indexed.

/usr/share/doc/pyro/examples/exceptions/excep.py is in pyro-examples 1:3.14-1.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
class MyError(Exception):
	pass

class testclass(object):
	def div(s, arg1, arg2): return arg1/arg2
	def error(s):           raise ValueError('a valueerror! Great!')
	def error2(s):           return ValueError('a valueerror! Great!')
	def othererr(s): raise MyError('my error!')
	def othererr2(s): return MyError('my error!')
	def complexerror(s):
		x=foo()
		x.crash()


class foo(object):
	def crash(s):
		s.crash2('going down...')
	def crash2(s, arg):
		# this statement will crash on purpose:
		x=arg/2