aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/cmd/commands/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/cmd/commands/__init__.py')
-rw-r--r--yardstick/cmd/commands/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/yardstick/cmd/commands/__init__.py b/yardstick/cmd/commands/__init__.py
index e69de29bb..ba229d481 100644
--- a/yardstick/cmd/commands/__init__.py
+++ b/yardstick/cmd/commands/__init__.py
@@ -0,0 +1,9 @@
+from yardstick.benchmark.core import Param
+
+
+def change_osloobj_to_paras(args):
+ param = Param({})
+ for k in param.__dict__:
+ if hasattr(args, k):
+ setattr(param, k, getattr(args, k))
+ return param