diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-02-23 03:12:49 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-02-23 03:12:49 +0000 |
commit | b1487ac5dfe57cb16ec4575b7a2a8ac570fc2bc0 (patch) | |
tree | b6a51a92d148fbdcea75a1bfffffb02f908ee67b /pym/_emerge/__init__.py | |
parent | aac0840c6a27e87a52c802d7a8d2e9412041cd45 (diff) | |
download | portage-b1487ac5dfe57cb16ec4575b7a2a8ac570fc2bc0.tar.gz portage-b1487ac5dfe57cb16ec4575b7a2a8ac570fc2bc0.tar.bz2 portage-b1487ac5dfe57cb16ec4575b7a2a8ac570fc2bc0.zip |
When encoding strings inside vardbapi._counter_hash() and
vardbapi._owners_cache._hash_str(), use 'backslashreplace' in order to avoid
potential UnicodeError exceptions. Use constant ascii and utf_8 codecs,
respectively, since these codecs are guaranteed to be available by
_ensure_default_encoding().
svn path=/main/trunk/; revision=12689
Diffstat (limited to 'pym/_emerge/__init__.py')
0 files changed, 0 insertions, 0 deletions