Searched refs:zip_or_tar_info (Results 1 – 1 of 1) sorted by relevance
50 def get_name(self, zip_or_tar_info): argument51 if hasattr(zip_or_tar_info, "filename"):52 return zip_or_tar_info.filename53 return zip_or_tar_info.name55 def get_content(self, zip_or_tar_info): argument57 content = self._obj.extractfile(zip_or_tar_info)62 return str(self._obj.read(zip_or_tar_info), "utf-8")