Beispiel #1
0
    def info(self):
        """Returns the information related to this file, this includes those
		provided by pyrus.file.AbstractFile.info() and info extracted
		from the binary class file."""
        fileinfo = AbstractFile.info(self)
        fileinfo['magic'] = self.magic
        fileinfo['version-string'] = major_version(self.version[0])
        fileinfo['version'] = self.version
        return fileinfo
Beispiel #2
0
	def info(self):
		"""Returns the information related to this file, this includes those
		provided by pyrus.file.AbstractFile.info() and info extracted
		from the binary class file."""
		fileinfo = AbstractFile.info(self)
		fileinfo['magic'] = self.magic
		fileinfo['version-string'] = major_version(self.version[0])
		fileinfo['version'] = self.version
		return fileinfo
Beispiel #3
0
 def info(self):
     fileinfo = AbstractFile.info(self)
     fileinfo['signature'] = self.signature
     return fileinfo
Beispiel #4
0
	def info(self):
		"""Returns the information related to this file, this includes those
		provided by pyrus.file.AbstractFile.info() and the manifest headers."""
		fileinfo = AbstractFile.info(self)
		fileinfo['manifest-info'] = self.manifestinfo
		return fileinfo
Beispiel #5
0
	def info(self):
		fileinfo = AbstractFile.info(self)
		fileinfo['signature'] = self.signature
		return fileinfo