aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-17 17:41:58 +0300
committerBonfaceKilz2020-08-18 16:59:52 +0300
commitaf330a2aa7b36fd0cf8505eb20fa06d2ed58b86b (patch)
treeebc6ee429df52b7ae82d1f2017a356898348c0f9 /wqflask/utility/tools.py
parente49ef0954e111ace2044cced0a83b4d9dc00bc72 (diff)
downloadgenenetwork2-af330a2aa7b36fd0cf8505eb20fa06d2ed58b86b.tar.gz
Wrap print statements in parentheses
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r--wqflask/utility/tools.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 77db5d53..f790d424 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -214,20 +214,20 @@ ENDC = '\033[0m'
def show_settings():
from utility.tools import LOG_LEVEL
- print("Set global log level to "+BLUE+LOG_LEVEL+ENDC)
+ print(("Set global log level to "+BLUE+LOG_LEVEL+ENDC))
log_level = getattr(logging, LOG_LEVEL.upper())
logging.basicConfig(level=log_level)
logger.info(OVERRIDES)
logger.info(BLUE+"Mr. Mojo Risin 2"+ENDC)
- print "runserver.py: ****** Webserver configuration - k,v pairs from app.config ******"
keylist = app.config.keys()
+ print("runserver.py: ****** Webserver configuration - k,v pairs from app.config ******")
keylist.sort()
for k in keylist:
try:
- print("%s: %s%s%s%s" % (k,BLUE,BOLD,get_setting(k),ENDC))
+ print(("%s: %s%s%s%s" % (k,BLUE,BOLD,get_setting(k),ENDC)))
except:
- print("%s: %s%s%s%s" % (k,GREEN,BOLD,app.config[k],ENDC))
+ print(("%s: %s%s%s%s" % (k,GREEN,BOLD,app.config[k],ENDC)))
# Cached values