Пример #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
Пример #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
Пример #3
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header_data = tempfile.NamedTemporaryFile()
     self.checksum_type = DEB_CHECKSUM_TYPE
Пример #4
0
 def __init__(self, input_stream = None):
     A_Package.__init__(self, input_stream)
     self.header_data = tempfile.NamedTemporaryFile()
     self.checksum_type = DEB_CHECKSUM_TYPE
Пример #5
0
 def __init__(self, input_stream=None):
     A_Package.__init__(self, input_stream)
     self.header_data = tempfile.SpooledTemporaryFile()
Пример #6
0
 def __init__(self, input_stream = None):
     A_Package.__init__(self, input_stream)
     self.header_data = tempfile.SpooledTemporaryFile()