From d6bf836ac3e8e5bf552426d49fbaf43755c3305b Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 3 May 2017 15:58:23 +0200 Subject: Forbid calling generate_report from cmdline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic9ea7507dc5f1f781b57c4573e971a2c8a8ca9ef Signed-off-by: Cédric Ollivier --- functest/ci/generate_report.py | 6 ------ 1 file changed, 6 deletions(-) mode change 100755 => 100644 functest/ci/generate_report.py diff --git a/functest/ci/generate_report.py b/functest/ci/generate_report.py old mode 100755 new mode 100644 index c4a9fbbfc..7a25fd952 --- a/functest/ci/generate_report.py +++ b/functest/ci/generate_report.py @@ -8,7 +8,6 @@ import json import logging import re -import sys import urllib2 import functest.utils.functest_utils as ft_utils @@ -147,8 +146,3 @@ def main(args=[]): str += print_separator('-') logger.info("\n\n\n%s" % str) - - -if __name__ == '__main__': - logging.basicConfig() - main(sys.argv[1:]) -- cgit 1.2.3-korg