Fix transposition of CodecInfo streamreader and streamwriter attributes
authorZac Medico <zmedico@gentoo.org>
Thu, 6 Aug 2009 01:05:43 +0000 (01:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 6 Aug 2009 01:05:43 +0000 (01:05 -0000)
commitb6eddf7f5a4cb032d217f7ef0b6da028d3f230bc
tree4d6ebdc2db82def62c9428ebaf603c6e7999275a
parentfdc7d1a66c023e6af67046a0cd5d6d9f16caef7e
Fix transposition of CodecInfo streamreader and streamwriter attributes
inside _gen_missing_encodings(). This solves 'TypeError: an integer is
required' exceptions from codecs.open().readlines([sizehint]), triggered
when python is built with USE=build (stage 1). Thanks to Daniel Robbins
for reporting.

svn path=/main/trunk/; revision=13925
pym/portage/__init__.py