Message133219
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. |
|
Date |
User |
Action |
Args |
2011-04-07 14:32:53 | barry | set | recipients:
+ barry, loewis, jcea, ncoghlan, eric.araujo, skrah, sandro.tosi, python-dev |
2011-04-07 14:32:53 | barry | set | messageid: <1302186773.88.0.355656290098.issue11715@psf.upfronthosting.co.za> |
2011-04-07 14:32:52 | barry | link | issue11715 messages |
2011-04-07 14:32:52 | barry | create | |
|