Re: [PATCH v3 2/5] python/utils: add VerboseProcessError

2022-03-17 Thread John Snow
On Thu, Mar 17, 2022 at 12:34 PM Hanna Reitz wrote: > > On 17.03.22 17:31, John Snow wrote: > > On Thu, Mar 17, 2022 at 11:56 AM Hanna Reitz wrote: > >> On 17.03.22 16:13, John Snow wrote: > >>> On Thu, Mar 17, 2022 at 5:23 AM Hanna Reitz wrote: > On 08.03.22 02:57, John Snow wrote: > >

Re: [PATCH v3 2/5] python/utils: add VerboseProcessError

2022-03-17 Thread Hanna Reitz
On 17.03.22 17:31, John Snow wrote: On Thu, Mar 17, 2022 at 11:56 AM Hanna Reitz wrote: On 17.03.22 16:13, John Snow wrote: On Thu, Mar 17, 2022 at 5:23 AM Hanna Reitz wrote: On 08.03.22 02:57, John Snow wrote: This adds an Exception that extends the Python stdlib subprocess.CalledProcessEr

Re: [PATCH v3 2/5] python/utils: add VerboseProcessError

2022-03-17 Thread John Snow
On Thu, Mar 17, 2022 at 11:56 AM Hanna Reitz wrote: > > On 17.03.22 16:13, John Snow wrote: > > On Thu, Mar 17, 2022 at 5:23 AM Hanna Reitz wrote: > >> On 08.03.22 02:57, John Snow wrote: > >>> This adds an Exception that extends the Python stdlib > >>> subprocess.CalledProcessError. > >>> > >>>

Re: [PATCH v3 2/5] python/utils: add VerboseProcessError

2022-03-17 Thread Hanna Reitz
On 17.03.22 16:13, John Snow wrote: On Thu, Mar 17, 2022 at 5:23 AM Hanna Reitz wrote: On 08.03.22 02:57, John Snow wrote: This adds an Exception that extends the Python stdlib subprocess.CalledProcessError. The difference is that the str() method of this exception also adds the stdout/stderr

Re: [PATCH v3 2/5] python/utils: add VerboseProcessError

2022-03-17 Thread John Snow
On Thu, Mar 17, 2022 at 5:23 AM Hanna Reitz wrote: > > On 08.03.22 02:57, John Snow wrote: > > This adds an Exception that extends the Python stdlib > > subprocess.CalledProcessError. > > > > The difference is that the str() method of this exception also adds the > > stdout/stderr logs. In effect,

Re: [PATCH v3 2/5] python/utils: add VerboseProcessError

2022-03-17 Thread Hanna Reitz
On 08.03.22 02:57, John Snow wrote: This adds an Exception that extends the Python stdlib subprocess.CalledProcessError. The difference is that the str() method of this exception also adds the stdout/stderr logs. In effect, if this exception goes unhandled, Python will print the output in a visu

[PATCH v3 2/5] python/utils: add VerboseProcessError

2022-03-07 Thread John Snow
This adds an Exception that extends the Python stdlib subprocess.CalledProcessError. The difference is that the str() method of this exception also adds the stdout/stderr logs. In effect, if this exception goes unhandled, Python will print the output in a visually distinct wrapper to the terminal