JIRA: BOTTLENECK-100
Modify all the code in the utils folder into PEP8 style.
Using more standard way to realize our function.
Change-Id: Ie75c57f7fdd2a9d03849c3cb240918a6779d6be9
Signed-off-by: liyin <liyin11@huawei.com>
def printUsage():
print ("Usage: python process_data.py required_params(**)"
def printUsage():
print ("Usage: python process_data.py required_params(**)"
- " optional_params([])")
+ " optional_params([])")
print " ** -i|--input input_data_dir"
print " ** -s|--suite suite_name"
print " ** -c|--conf conf_file"
print " ** -i|--input input_data_dir"
print " ** -s|--suite suite_name"
print " ** -c|--conf conf_file"
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+import template
+import common
import os
import unittest
import mock
import sys
sys.path.append("..")
import os
import unittest
import mock
import sys
sys.path.append("..")
-import template
-import common
# if user set --debug as a cli parameter
# we will set this variable "Debug" to output debug info.
DEBUG = os.getenv('DEBUG')
# if user set --debug as a cli parameter
# we will set this variable "Debug" to output debug info.
DEBUG = os.getenv('DEBUG')
self.logger = logging.getLogger(logger_name)
self.logger.propagate = 0
self.logger = logging.getLogger(logger_name)
self.logger.propagate = 0