On 11/02/2015 09:06 AM, Zac Medico wrote:
> On 11/02/2015 08:52 AM, Mike Frysinger wrote:
>> On 01 Nov 2015 09:36, Zac Medico wrote:
>>> In order to handle python3 with arguments containing UTF-8 characters
>>> (in ${PKGDIR}) and a mis-matched sys.getfilesystemencoding() value, it's
>>> safest to
On 01 Nov 2015 09:36, Zac Medico wrote:
> On 10/31/2015 10:23 PM, Mike Frysinger wrote:
> > The current code implements a lot of ad-hoc argument parsing when it
> > could simply let the argparse module do it all for it. This makes the
> > code easier to understand and extend in the process.
> >
On 11/02/2015 08:52 AM, Mike Frysinger wrote:
> On 01 Nov 2015 09:36, Zac Medico wrote:
>> In order to handle python3 with arguments containing UTF-8 characters
>> (in ${PKGDIR}) and a mis-matched sys.getfilesystemencoding() value, it's
>> safest to decode the arguments like chmod-lite.py does.
>
On 10/31/2015 10:23 PM, Mike Frysinger wrote:
> The current code implements a lot of ad-hoc argument parsing when it
> could simply let the argparse module do it all for it. This makes the
> code easier to understand and extend in the process.
> ---
> bin/xpak-helper.py | 68
>
The current code implements a lot of ad-hoc argument parsing when it
could simply let the argparse module do it all for it. This makes the
code easier to understand and extend in the process.
---
bin/xpak-helper.py | 68 --
1 file changed, 25