Message73651
| Author | zooko |
|---|---|
| Recipients | draghuram, lemburg, zooko |
| Date | 2008-09-23.17:15:58 |
| SpamBayes Score | 3.7652844e-05 |
| Marked as misclassified | No |
| Message-id | <1222190160.19.0.0360147540162.issue3937@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Here is an updated version of my patch which tries parsing /etc/lsb-release first and only if that fails tries executing lsb_release. The reason is that executing lsb_release in a subprocess takes half-a-second on my high-performance Athlon64 Ubuntu workstation, and also that some installations have /etc/lsb-release but not lsb_release. See the docstring for more details about why to do it this way and exactly what it does. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-09-23 17:16:01 | zooko | set | recipients: + zooko, lemburg, draghuram |
| 2008-09-23 17:16:00 | zooko | set | messageid: <1222190160.19.0.0360147540162.issue3937@psf.upfronthosting.co.za> |
| 2008-09-23 17:15:59 | zooko | link | issue3937 messages |
| 2008-09-23 17:15:59 | zooko | create | |