Skip to content

Commit 8aae990

Browse files
committed
remove logger and print statements
1 parent 595f791 commit 8aae990

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

.DS_Store

6 KB
Binary file not shown.

servicex_codegen/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
# modification, are permitted provided that the following conditions are met:
3333
#
3434
import os
35-
import logging
3635

3736
from flask import Flask, jsonify
3837
from flask_restful import Api
@@ -56,14 +55,10 @@ def create_app(test_config=None, provided_translator=None):
5655
except OSError:
5756
pass
5857

59-
level = os.environ.get('LOG_LEVEL', 'INFO').upper()
60-
app.logger.level = getattr(logging, level, None)
61-
6258
if test_config:
6359
app.config.from_mapping(test_config)
6460
else:
6561
if 'CODEGEN_CONFIG_FILE' in os.environ:
66-
app.logger.info(os.environ.get('TRANSFORMER_SCIENCE_IMAGE'))
6762
app.config.from_envvar('CODEGEN_CONFIG_FILE')
6863

6964
with app.app_context():

servicex_codegen/post_operation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ def post(self):
9393
# code gen transformer returns the default transformer image mentioned in
9494
# the config file
9595
transformer_image = os.environ.get('TRANSFORMER_SCIENCE_IMAGE')
96-
print('Transformer Image: ', transformer_image)
9796

9897
# MultipartEncoder library takes multiple types of data fields and merge
9998
# them into a multipart mime data type

0 commit comments

Comments
 (0)