Home
last modified time | relevance | path

Searched refs:_encode_field (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/distutils/
Ddist.py1145 file.write('%s: %s\n' % (name, self._encode_field(value)))
1151 def _encode_field(self, value): member in DistributionMetadata
1170 return self._encode_field(self.author) or "UNKNOWN"
1176 return self._encode_field(self.maintainer) or "UNKNOWN"
1182 return (self._encode_field(self.maintainer) or
1183 self._encode_field(self.author) or "UNKNOWN")
1196 return self._encode_field(self.description) or "UNKNOWN"
1199 return self._encode_field(self.long_description) or "UNKNOWN"
/external/python/setuptools/setuptools/
Ddist.py80 attr_val = self._encode_field(attr_val)