[ARVADOS] updated: 23796191a7efdae462ee7509b4641be4d63d584d

git at public.curoverse.com git at public.curoverse.com
Thu Oct 16 13:20:19 EDT 2014


Summary of changes:
 sdk/python/arvados/commands/ws.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

       via  23796191a7efdae462ee7509b4641be4d63d584d (commit)
      from  723f0c8477dbd1d6a5e90a29dd3003c9b00d04aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 23796191a7efdae462ee7509b4641be4d63d584d
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Oct 16 13:20:12 2014 -0400

    3609: import signal; add_mutually_exclusive_group doesn't take any arguments.

diff --git a/sdk/python/arvados/commands/ws.py b/sdk/python/arvados/commands/ws.py
index 4ac870e..d399eb5 100644
--- a/sdk/python/arvados/commands/ws.py
+++ b/sdk/python/arvados/commands/ws.py
@@ -7,6 +7,7 @@ import arvados
 import json
 import time
 from arvados.events import subscribe
+import signal
 
 def main(arguments=None):
     logger = logging.getLogger('arvados.arv-ws')
@@ -15,11 +16,11 @@ def main(arguments=None):
     parser.add_argument('-u', '--uuid', type=str, default="", help="Filter events on object_uuid")
     parser.add_argument('-f', '--filters', type=str, default="", help="Arvados query filter to apply to log events (JSON encoded)")
 
-    group = parser.add_mutually_exclusive_group('Polling fallback')
+    group = parser.add_mutually_exclusive_group()
     group.add_argument('--poll-interval', default=15, type=int, help="If websockets is not available, specify the polling interval, default is every 15 seconds")
     group.add_argument('--no-poll', action='store_false', dest='poll_interval', help="Do not poll if websockets are not available, just fail")
 
-    group = parser.add_mutually_exclusive_group('Jobs and Pipelines')
+    group = parser.add_mutually_exclusive_group()
     group.add_argument('-p', '--pipeline', type=str, default="", help="Supply pipeline uuid, print log output from pipeline and its jobs")
     group.add_argument('-j', '--job', type=str, default="", help="Supply job uuid, print log output from jobs")
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list