(self)
Parse and cache metadata
Parse and cache metadata
Parse and cache metadata
def _parsed_pkg_info(self):
        """Parse and cache metadata"""
        try:
            return self._pkg_info
        except AttributeError:
            metadata = self.get_metadata(self.PKG_INFO)
            self._pkg_info = email.parser.Parser().parsestr(metadata)
            return self._pkg_info
def _parsed_pkg_info ( self ) : try : return self . _pkg_info except AttributeError : metadata = self . get_metadata ( self . PKG_INFO ) self . _pkg_info = email . parser . Parser ( ) . parsestr ( metadata ) return self . _pkg_info