diff options
| author | aszlig <aszlig@redmoonstudios.org> | 2014-07-28 04:18:21 +0200 |
|---|---|---|
| committer | aszlig <aszlig@redmoonstudios.org> | 2014-07-28 04:18:21 +0200 |
| commit | 5f01cc70d3a65a4d904a2040343ca5bfdfbaaff3 (patch) | |
| tree | 62f4195026917bb607c5a4eda196be822dc38dc8 /pkgs/development/python-modules/termplotlib | |
| parent | e57249ab20f01041628842ea1d84eae15fa75dc8 (diff) | |
python-wrapper: Fix fixup for wrapped argv[0].
Fixes issues introduced by 24ef871e6a1c858af3f9984a5b526c83b24520ed.
The problem here is that "import sys; sys.argv[0] = ..." is just
appended after the first "#!", which in turn breaks things such as
encoding specifications. A second problem - although not very common -
is when there's another #! within the script.
This should take care of both cases.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/python-modules/termplotlib')
0 files changed, 0 insertions, 0 deletions
