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
文件: rhn_rpm.py 项目: m47ik/uyuni
 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
示例#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
示例#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
示例#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