You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by jo...@apache.org on 2021/12/10 11:05:40 UTC

[incubator-heron] branch master updated: Fix dependency (#3746)

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

joshfischer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d4963a  Fix dependency (#3746)
2d4963a is described below

commit 2d4963a02da582f96cafa19665a207cdbd95ea2e
Author: choi se <35...@users.noreply.github.com>
AuthorDate: Fri Dec 10 20:05:01 2021 +0900

    Fix dependency (#3746)
---
 heron/shell/src/python/handlers/downloadhandler.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/heron/shell/src/python/handlers/downloadhandler.py b/heron/shell/src/python/handlers/downloadhandler.py
index 3186253..806f552 100644
--- a/heron/shell/src/python/handlers/downloadhandler.py
+++ b/heron/shell/src/python/handlers/downloadhandler.py
@@ -23,7 +23,6 @@
 import os
 import logging
 import tornado.web
-import anticrlf
 
 from heron.shell.src.python import utils
 
@@ -36,7 +35,7 @@ class DownloadHandler(tornado.web.RequestHandler):
     """ get method """
 
     handler = logging.StreamHandler()
-    handler.setFormatter(anticrlf.LogFormatter('%(levelname)s:%(name)s:%(message)s'))
+    handler.setFormatter(logging.Formatter('%(levelname)s:%(name)s:%(message)s'))
     logger = logging.getLogger(__name__)
     logger.addHandler(handler)
     logger.setLevel(logging.DEBUG)