You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2018/08/23 02:29:37 UTC

[mesos] branch master updated (da13db3 -> 391ca0f)

This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git.


    from da13db3  Disabled a flaky SLRP test due to MESOS-9130.
     new dbdd7db  Fixed a bug in `generate-endpoint-help.py`.
     new 391ca0f  Printed a newline after posting a review.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 support/generate-endpoint-help.py         | 2 +-
 support/python3/generate-endpoint-help.py | 2 +-
 support/python3/post-reviews.py           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


[mesos] 01/02: Fixed a bug in `generate-endpoint-help.py`.

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit dbdd7db4609a2fb4b2afd72f2b9195b1f3c7d3e4
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Wed Aug 22 16:14:08 2018 -0700

    Fixed a bug in `generate-endpoint-help.py`.
    
    Review: https://reviews.apache.org/r/68477
---
 support/generate-endpoint-help.py         | 2 +-
 support/python3/generate-endpoint-help.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/generate-endpoint-help.py b/support/generate-endpoint-help.py
index 54b5408..37c4b58 100755
--- a/support/generate-endpoint-help.py
+++ b/support/generate-endpoint-help.py
@@ -387,7 +387,7 @@ def main():
     # This is useful for tracking the master or agent subprocesses so
     # that we can kill them if the script exits prematurely.
     subproc = Subprocess()
-    atexit.register(subproc.cleanup())
+    atexit.register(subproc.cleanup)
     subproc.current = start_master(options)
     master_help = get_help(HOST_IP, MASTER_PORT)
     subproc.current.kill()
diff --git a/support/python3/generate-endpoint-help.py b/support/python3/generate-endpoint-help.py
index 43bf3b0..6214d2e 100755
--- a/support/python3/generate-endpoint-help.py
+++ b/support/python3/generate-endpoint-help.py
@@ -385,7 +385,7 @@ def main():
     # This is useful for tracking the master or agent subprocesses so
     # that we can kill them if the script exits prematurely.
     subproc = Subprocess()
-    atexit.register(subproc.cleanup())
+    atexit.register(subproc.cleanup)
     subproc.current = start_master(options)
     master_help = get_help(HOST_IP, MASTER_PORT)
     subproc.current.kill()


[mesos] 02/02: Printed a newline after posting a review.

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 391ca0fc1c5cfa0bf79da132822e80c5cc921da9
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Wed Aug 22 16:24:33 2018 -0700

    Printed a newline after posting a review.
    
    Review: https://reviews.apache.org/r/68479
---
 support/python3/post-reviews.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/python3/post-reviews.py b/support/python3/post-reviews.py
index 2048278..feb7d51 100755
--- a/support/python3/post-reviews.py
+++ b/support/python3/post-reviews.py
@@ -360,7 +360,7 @@ def main():
                 ['--revision-range=' + revision_range] + \
                 sys.argv[1:]
 
-        output = execute(command).strip()
+        output = execute(command)
 
         # Output is a string, we convert it to a byte string before writing it.
         sys.stdout.buffer.write(output.encode())