You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Neil Conway <ne...@gmail.com> on 2016/02/19 20:21:28 UTC

Re: Review Request 43384: Fixed minor bug in generate-endpoint-help.py.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43384/
-----------------------------------------------------------

(Updated Feb. 19, 2016, 7:21 p.m.)


Review request for mesos, Ben Mahler and Kevin Klues.


Changes
-------

Revised per Kevin's comments.


Summary (updated)
-----------------

Fixed minor bug in generate-endpoint-help.py.


Repository: mesos


Description (updated)
-------

If the script exited when `current_subprocess` was None, it would
print an ugly exception stack trace.


Diffs (updated)
-----

  support/generate-endpoint-help.py 28333847e5603c942f25ec9d9a0429bd676f4541 

Diff: https://reviews.apache.org/r/43384/diff/


Testing
-------

Ran the script in error and non-error cases with the changes applied.


Thanks,

Neil Conway


Re: Review Request 43384: Fixed minor bug in generate-endpoint-help.py.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43384/#review119973
-----------------------------------------------------------



Patch looks great!

Reviews applied: [43384]

Passed command: export OS='ubuntu:14.04' CONFIGURATION='--verbose' COMPILER='gcc' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh

- Mesos ReviewBot


On Feb. 19, 2016, 7:21 p.m., Neil Conway wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43384/
> -----------------------------------------------------------
> 
> (Updated Feb. 19, 2016, 7:21 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Kevin Klues.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> If the script exited when `current_subprocess` was None, it would
> print an ugly exception stack trace.
> 
> 
> Diffs
> -----
> 
>   support/generate-endpoint-help.py 28333847e5603c942f25ec9d9a0429bd676f4541 
> 
> Diff: https://reviews.apache.org/r/43384/diff/
> 
> 
> Testing
> -------
> 
> Ran the script in error and non-error cases with the changes applied.
> 
> 
> Thanks,
> 
> Neil Conway
> 
>


Re: Review Request 43384: Fixed minor bug in generate-endpoint-help.py.

Posted by Neil Conway <ne...@gmail.com>.

> On Feb. 23, 2016, 6:17 p.m., Ben Mahler wrote:
> > support/generate-endpoint-help.py, line 316
> > <https://reviews.apache.org/r/43384/diff/2/?file=1255050#file1255050line316>
> >
> >     How about on_exit?

Sounds good.


- Neil


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43384/#review120350
-----------------------------------------------------------


On Feb. 19, 2016, 7:21 p.m., Neil Conway wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43384/
> -----------------------------------------------------------
> 
> (Updated Feb. 19, 2016, 7:21 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Kevin Klues.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> If the script exited when `current_subprocess` was None, it would
> print an ugly exception stack trace.
> 
> 
> Diffs
> -----
> 
>   support/generate-endpoint-help.py 28333847e5603c942f25ec9d9a0429bd676f4541 
> 
> Diff: https://reviews.apache.org/r/43384/diff/
> 
> 
> Testing
> -------
> 
> Ran the script in error and non-error cases with the changes applied.
> 
> 
> Thanks,
> 
> Neil Conway
> 
>


Re: Review Request 43384: Fixed minor bug in generate-endpoint-help.py.

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43384/#review120350
-----------------------------------------------------------


Ship it!





support/generate-endpoint-help.py (line 316)
<https://reviews.apache.org/r/43384/#comment181782>

    How about on_exit?


- Ben Mahler


On Feb. 19, 2016, 7:21 p.m., Neil Conway wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43384/
> -----------------------------------------------------------
> 
> (Updated Feb. 19, 2016, 7:21 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Kevin Klues.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> If the script exited when `current_subprocess` was None, it would
> print an ugly exception stack trace.
> 
> 
> Diffs
> -----
> 
>   support/generate-endpoint-help.py 28333847e5603c942f25ec9d9a0429bd676f4541 
> 
> Diff: https://reviews.apache.org/r/43384/diff/
> 
> 
> Testing
> -------
> 
> Ran the script in error and non-error cases with the changes applied.
> 
> 
> Thanks,
> 
> Neil Conway
> 
>