Message133219
| Author |
barry |
| Recipients |
barry, eric.araujo, jcea, loewis, ncoghlan, python-dev, sandro.tosi, skrah |
| Date |
2011年04月07日.14:32:52 |
| SpamBayes Score |
0.00068913156 |
| Marked as misclassified |
No |
| Message-id |
<1302186773.88.0.355656290098.issue11715@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Stefan, thanks for the patch. The problem is that on FreeBSD and Solaris, if the command fails, I/O redirection does not create the file, whereas on Linux and OS X it does. So I was going to wrap the os.remove() of the temp file in a try/except. But I like your patch better because it avoids the dpkg-architecture call in the first place on systems that don't have it, albeit at the cost of traversing $PATH. |
|