/usr/share/pyshared/tp/netlib/objects/ObjectExtra/Galaxy.py is in python-tp-netlib 0.2.5-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 22 23 24 25 26 27 28 29 30 31 32 | from xstruct import pack
from objects import Object
class Galaxy(Object):
"""\
The Galaxy is a container for a large group of close star systems, like the Milky Way.
The Galaxy contains no extra data.
"""
subtype = 1
substruct = ""
def __init__(self, sequence, \
id, type, name, \
size, \
posx, posy, posz, \
velx, vely, velz, \
contains, \
order_types, \
order_number, \
modify_time):
Object.__init__(self, sequence, \
id, type, name, \
size, \
posx, posy, posz, \
velx, vely, velz, \
contains, \
order_types, \
order_number, \
modify_time)
self.length += 0
|