This file is indexed.

/usr/share/games/castle-combat/scripts/main.py is in castle-combat 0.8.1.dfsg.1-3.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
import pygame
from pygame.locals import *
import common

def init():
	pygame.init()
	common.init()

def get_opts():
	import getopt, sys

	is_server = False

	try:
		opts, args = getopt.getopt(sys.argv[1:], "s", ["server"])
	except getopt.GetoptError:
		print "Wrong parameter. Sorry."
		sys.exit(2)
	output = None
	verbose = False
	for opt, arg in opts:
		if opt == "-s":
			is_server = True

	return (is_server)

def main():
#	(is_server) = get_opts()
#	import sys
#	print sys.argv
	import config
	config.load()
	init()

	from state import MainState, runStateLoop
	MainState()
	
	from menu import MenuState
	MenuState()

	runStateLoop()
	
	config.save()

if __name__ == '__main__':
	main()