Gentoo Archives: gentoo-dev

From: "Gregory M. Turner" <gmt@×××××.us>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] cygwin prefix patch: request for eyeballs
Date: Tue, 27 Mar 2012 20:18:28
Message-Id: 2d4b564d-34fb-459c-94db-a3f9cb7a0af0@malth.us
In Reply to: Re: [gentoo-dev] cygwin prefix patch: request for eyeballs by Alec Warner
1 ----- Original Message -----
2 > > 'if not os.environ["PORTAGE_PYTONPATH"]:'
3 > If PORTAGE_PYTHONPATH is not in os.environ then it will raise a
4 > KeyError, that is why we are doing a contains to begin with.
5
6 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...
7
8 -gmt