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

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


The following commit(s) were added to refs/heads/master by this push:
     new b069419  fix addr_str format bug (#6551)
b069419 is described below

commit b06941945c646113d27e45b8ae237e53e5d14ecf
Author: dragons <[email protected]>
AuthorDate: Wed Dec 19 03:03:15 2018 +0800

    fix addr_str format bug (#6551)
---
 superset/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/cli.py b/superset/cli.py
index c6444b1..525ea36 100755
--- a/superset/cli.py
+++ b/superset/cli.py
@@ -112,7 +112,7 @@ def runserver(debug, console_log, use_reloader, address, 
port, timeout, workers,
         logging.info(
             "The Gunicorn 'superset runserver' command is deprecated. Please "
             "use the 'gunicorn' command instead.")
-        addr_str = ' unix:{socket} ' if socket else' {address}:{port} '
+        addr_str = f' unix:{socket} ' if socket else f' {address}:{port} '
         cmd = (
             'gunicorn '
             f'-w {workers} '

Reply via email to