Message166930
| Author |
anton.barkovsky |
| Recipients |
anton.barkovsky |
| Date |
2012年07月30日.22:35:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1343687718.2.0.882765777761.issue15509@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Because of the way webbrowser.UnixBrowser.open generates command-line
arguments the resulting list sometimes looks like this:
['chromium', '', 'http://www.example.org/']
This seems to work fine with chromium for me but as you can see:
>>> subprocess.call(['ls', '', '-l'])
ls: cannot access : No such file or directory
2
It's not a good idea to rely on that.
I'm attaching a patch that filters out those empty arguments. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月30日 22:35:18 | anton.barkovsky | set | recipients:
+ anton.barkovsky |
| 2012年07月30日 22:35:18 | anton.barkovsky | set | messageid: <1343687718.2.0.882765777761.issue15509@psf.upfronthosting.co.za> |
| 2012年07月30日 22:35:17 | anton.barkovsky | link | issue15509 messages |
| 2012年07月30日 22:35:17 | anton.barkovsky | create |
|