Message112848
| Author |
pitrou |
| Recipients |
barry, doko, hodgestar, lemburg, pitrou |
| Date |
2010年08月04日.18:13:01 |
| SpamBayes Score |
1.1068981e-06 |
| Marked as misclassified |
No |
| Message-id |
<1280945582.73.0.787936218484.issue9514@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
FWIW, the output is a bit different here before the patch:
$ ./python -c "import platform; print(platform.linux_distribution())"
('Mandriva Linux', '2010.1', 'Official')
and after the patch:
$ ./python -c "import platform; print(platform.linux_distribution())"
('MandrivaLinux', '2010.1', 'Henry_Farman')
but I would say it's because Mandriva has inconsistent contents in their respective /etc/mandriva_release and /etc/lsb-release files.
The patch itself is a bit imperfect and will need reworking (_u_distname, _u_version and _u_id should be initialized to '' rather than catching UnboundLocalError; remove ubuntu-specific comments). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年08月04日 18:13:02 | pitrou | set | recipients:
+ pitrou, lemburg, barry, doko, hodgestar |
| 2010年08月04日 18:13:02 | pitrou | set | messageid: <1280945582.73.0.787936218484.issue9514@psf.upfronthosting.co.za> |
| 2010年08月04日 18:13:01 | pitrou | link | issue9514 messages |
| 2010年08月04日 18:13:01 | pitrou | create |
|