Kubernetes context adoption when run in CI
[yardstick.git] / yardstick / benchmark / core / __init__.py
index 12c83f8..70036ea 100644 (file)
@@ -20,6 +20,8 @@ class Param(object):
         self.parse_only = kwargs.get('parse-only')
         self.output_file = kwargs.get('output-file', '/tmp/yardstick.out')
         self.suite = kwargs.get('suite')
+        self.task_id = kwargs.get('task_id')
+        self.yaml_name = kwargs.get('yaml_name')
 
         # list
         self.input_file = kwargs.get('input_file')
@@ -32,7 +34,7 @@ class Param(object):
 
 
 def print_hbar(barlen):
-    '''print to stdout a horizontal bar'''
-    print("+"),
-    print("-" * barlen),
+    """print to stdout a horizontal bar"""
+    print("+")
+    print("-" * barlen)
     print("+")