[ARVADOS] updated: 1.2.0-20-g6451f2e4a

Git user git at public.curoverse.com
Thu Sep 13 15:31:04 EDT 2018


Summary of changes:
 sdk/cwl/arvados_cwl/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  6451f2e4aa5464fa23fd8fe801177621702b8ac8 (commit)
      from  58f3f7ab5c8c09f179a7106ae1ca127f128cdd2a (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 6451f2e4aa5464fa23fd8fe801177621702b8ac8
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Thu Sep 13 16:30:35 2018 -0300

    13773: Update logging level checking for runtime status updates.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index 94615bbcb..8c08d59e2 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -77,9 +77,9 @@ class RuntimeStatusLoggingHandler(logging.Handler):
 
     def emit(self, record):
         kind = None
-        if record.levelno == logging.ERROR:
+        if record.levelno >= logging.ERROR:
             kind = 'error'
-        elif record.levelno == logging.WARNING:
+        elif record.levelno >= logging.WARNING:
             kind = 'warning'
         if kind is not None:
             log_msg = record.getMessage()

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list