aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/task_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/common/task_template.py')
-rwxr-xr-xyardstick/common/task_template.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/common/task_template.py b/yardstick/common/task_template.py
index 2739323bd..bda8a1b13 100755
--- a/yardstick/common/task_template.py
+++ b/yardstick/common/task_template.py
@@ -7,12 +7,14 @@
# http://www.apache.org/licenses/LICENSE-2.0
# yardstick: this file is copied from rally and slightly modified
##############################################################################
+from __future__ import absolute_import
import re
import jinja2
import jinja2.meta
class TaskTemplate(object):
+
@classmethod
def render(cls, task_template, **kwargs):
"""Render jinja2 task template to Yardstick input task.