* Add a digraph.get() method, analogous to dict.get(), used to simplify
authorZac Medico <zmedico@gentoo.org>
Sat, 12 Jul 2008 01:58:23 +0000 (01:58 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 12 Jul 2008 01:58:23 +0000 (01:58 -0000)
commitf9dc49ffd4486777e96b2e045c0b4523c479fef4
treec9f7e3cebc5e33fa8ebfca09acc7f4d7f87f53ba
parent36f15d83c7d65976cde18dd08cf792b949e2334b
* Add a digraph.get() method, analogous to dict.get(),  used to simplify
  Scheduler._pkg().

* Define digraph.__contains__ for containment tests via the "in" operator.

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