aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-05-03 15:58:23 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-05-04 16:15:24 +0200
commitd6bf836ac3e8e5bf552426d49fbaf43755c3305b (patch)
tree99e55db025fdb9adf8949e84d82aef3a49d34709
parent3154346cfd22a3d500dc2fd01495e181308d12d6 (diff)
Forbid calling generate_report from cmdline
Change-Id: Ic9ea7507dc5f1f781b57c4573e971a2c8a8ca9ef Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--[-rwxr-xr-x]functest/ci/generate_report.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/functest/ci/generate_report.py b/functest/ci/generate_report.py
index c4a9fbbf..7a25fd95 100755..100644
--- 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:])