""" t3SRCF.py Provides a class representing a source file descriptor block in a t3 image file. """ import struct from t3Block import * class SRCF_Block(Block): """ A source file descriptor block. There should only be one such block in any image file, but it is not mandatory that there should be any. It will normally only be included for debugging purposes. """ name = "Source File Descriptor Block" debug = True def __init__(self, datastream, image, attribs): Block.__init__(self, datastream, image, attribs) self.read_block() def read_block(self): """ Reads the data included in the block. """ n = struct.unpack("