[MERGE] bzrlib.osutils fixes
Alexander Belchenko
bialix at ukr.net
Thu Mar 8 08:32:42 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dmitry Vasiliev пишет:
>
> The attached bundle contains small fixes/optimizations for bzrlib.osutils.
Can you explain this change, please?
> @@ -704,7 +711,8 @@
> for dirdetail, dirblock in osutils._walkdirs_utf8('.'):
> self.assertIsInstance(dirdetail[0], str)
> if isinstance(dirdetail[1], unicode):
> - dirdetail[1] = dirdetail[1].encode('utf8')
> + dirdetail = (dirdetail[0], dirdetail[1].encode('utf8'))
> + dirblock = [list(info) for info in dirblock]
> for info in dirblock:
> self.assertIsInstance(info[4], unicode)
> info[4] = info[4].encode('utf8')
>
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF78oqzYr338mxwCURArleAJ9CWkBAkhMmy/4FNJntCqrAZDGxZwCggcq1
ECWqEqJRFvBEiJO6D2hj6WM=
=YD43
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list