From 46bbb96e0ea5f6555d893cd6f82ad7b52657dcbe Mon Sep 17 00:00:00 2001 From: yuyang Date: Mon, 5 Jun 2017 10:44:21 +0800 Subject: Remove redundant print functions JIRA: BOTTLENECK-158 Remove redundant print functions for report log Change-Id: I35c43fd3e30090bc296823faca55b49c0431a1fb Signed-off-by: yuyang (cherry picked from commit 6de46e9144ee0bc2962460c600e4b3a888d934ef) --- testsuites/posca/run_posca.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/testsuites/posca/run_posca.py b/testsuites/posca/run_posca.py index bd979b67..b1dba140 100755 --- a/testsuites/posca/run_posca.py +++ b/testsuites/posca/run_posca.py @@ -63,15 +63,12 @@ def report(testcase, start_date, stop_date, criteria, details_doc): try: LOG.debug('Test result : %s', jsonutils.dump_as_bytes(results)) - print ('Start posting test results to community MongoDB') res = requests.post(target, data=jsonutils.dump_as_bytes(results), headers=headers, timeout=timeout) LOG.debug('Test result posting finished with status code' ' %d.' % res.status_code) - print ('Test results posting finished with status code' - ' %d.' % res.status_code) except Exception as err: LOG.exception('Failed to record result data: %s', err) -- cgit 1.2.3-korg