diff options
Diffstat (limited to 'functest/ci/generate_report.py')
-rw-r--r--[-rwxr-xr-x] | functest/ci/generate_report.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/functest/ci/generate_report.py b/functest/ci/generate_report.py index 3872a07e..7a25fd95 100755..100644 --- a/functest/ci/generate_report.py +++ b/functest/ci/generate_report.py @@ -6,10 +6,10 @@ # http://www.apache.org/licenses/LICENSE-2.0 # import json +import logging import re import urllib2 -import functest.utils.functest_logger as ft_logger import functest.utils.functest_utils as ft_utils from functest.utils.constants import CONST @@ -23,7 +23,7 @@ COL_5_LEN = 75 # and then we can print the url to the specific test result -logger = ft_logger.Logger("generate_report").getLogger() +logger = logging.getLogger(__name__) def init(tiers_to_run=[]): @@ -146,8 +146,3 @@ def main(args=[]): str += print_separator('-') logger.info("\n\n\n%s" % str) - - -if __name__ == '__main__': - import sys - main(sys.argv[1:]) |