Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] portage-py3k status report
Date: Fri, 15 Aug 2008 18:13:03
Message-Id: 48A5C727.4000703@gentoo.org
In Reply to: Re: [gentoo-portage-dev] portage-py3k status report by "René 'Necoro' Neumann"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 René 'Necoro' Neumann wrote:
5 > But the complete expression could be rewritten as:
6 >
7 > return [int(fd) for fd in os.listdir("/proc/%i/fd" % os.getpid()) if
8 > fd.isdigit()]
9 >
10
11 Applied, thanks.
12
13 - --
14 Thanks,
15 Zac
16 -----BEGIN PGP SIGNATURE-----
17 Version: GnuPG v2.0.9 (GNU/Linux)
18
19 iEYEARECAAYFAkilxyUACgkQ/ejvha5XGaPxXgCgkGAmT1Gf2lF840SXov8RbL31
20 7ucAnRyJnA3/HSKbV538YBQ0cRxqTSdG
21 =pcZr
22 -----END PGP SIGNATURE-----