Use a regex to validate package directory names in portdbapi.cp_list()
authorZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 01:16:27 +0000 (01:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 01:16:27 +0000 (01:16 -0000)
commiteedeb52d39a70a253b33f7ce8e78bb05ff7f29bd
tree9e8c35784e0deeeba2ef8c004350751cf0db9273
parentde742ce2cc92f31558b3bc739fa2d139678d4c9d
Use a regex to validate package directory names in portdbapi.cp_list()
and also simplify the catagory regex a bit.

svn path=/main/trunk/; revision=9010
pym/portage/dbapi/__init__.py
pym/portage/dbapi/porttree.py