Re: [gentoo-portage-dev] [PATCH] install.py: ignore -Z / --context

2019-11-07 Thread Mike Gilbert
On Thu, Nov 7, 2019 at 3:31 PM Zac Medico wrote: > > On 11/7/19 10:22 AM, Mike Gilbert wrote: > > The --context option accepts an optional argument, but only if it is > > passed via --context=arg. The argparse module does not deal with this > > properly. > > > > To work around this, have argparse

Re: [gentoo-portage-dev] [PATCH] install.py: ignore -Z / --context

2019-11-07 Thread Zac Medico
On 11/7/19 10:22 AM, Mike Gilbert wrote: > The --context option accepts an optional argument, but only if it is > passed via --context=arg. The argparse module does not deal with this > properly. > > To work around this, have argparse ignore this option, and filter out > any remaining arguments