----- Original Message ----- > > 'if not os.environ["PORTAGE_PYTONPATH"]:' > If PORTAGE_PYTHONPATH is not in os.environ then it will raise a > KeyError, that is why we are doing a contains to begin with.
I somehow got the idea that the python gods had sprinkled magical syntax-sugar on bool(x[y])? But maybe that doesn't make sense, it could cause gross surprises. Anyhow I should rtfm rather than post my OT un-educated guesses... -gmt