In cp_list(), use basestring for ininstance check on the mytree
authorZac Medico <zmedico@gentoo.org>
Tue, 10 Aug 2010 00:41:10 +0000 (17:41 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 10 Aug 2010 00:41:10 +0000 (17:41 -0700)
commitfd58bfea4874ef364d172bcb5dfe788452c06a1c
tree008bce566770729a47897a8ab62ff4d6eeae592f
parent5acf89e806372305dd77226e09b987f1b9c210d7
In cp_list(), use basestring for ininstance check on the mytree
parameter, and assume it's iterable if it's not a string.
pym/portage/dbapi/porttree.py