Esempio n. 1
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header_flags = MPM_HEADER_COMPRESSED_GZIP
     self.header_size = 0
     self.payload_flags = 0
     assert (len(self._magic) == 16)
     self._buffer_size = 16384
     self.file_size = 0
Esempio n. 2
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header_flags = MPM_HEADER_COMPRESSED_GZIP
     self.header_size = 0
     self.payload_flags = 0
     assert len(self._magic) == 16
     self._buffer_size = 16384
     self.file_size = 0
Esempio n. 3
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header = None
     self.header_data = tempfile.SpooledTemporaryFile()
     self.header_start = None
     self.header_end = None
     self.checksum_type = None
     self.checksum = None
     self.payload_stream = None
     self.payload_size = None
Esempio n. 4
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header = None
     self.header_data = tempfile.SpooledTemporaryFile()
     self.header_start = None
     self.header_end = None
     self.checksum_type = None
     self.checksum = None
     self.payload_stream = None
     self.payload_size = None
Esempio n. 5
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header_data = tempfile.NamedTemporaryFile()
     self.checksum_type = DEB_CHECKSUM_TYPE
Esempio n. 6
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header_data = tempfile.NamedTemporaryFile()
     self.checksum_type = DEB_CHECKSUM_TYPE