diff options
author | Vinson Lee <vlee@freedesktop.org> | 2014-12-08 23:40:25 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2014-12-08 23:40:25 -0800 |
commit | 8ef2aab203975b6bcb18a22cd69433fbd6128ae5 (patch) | |
tree | 06fbba024a9b26180366ae5615f641448634cc3f /generated_tests/templates | |
parent | fcd3c2811b7d40aa218e0cf05f1e36483ca67315 (diff) |
generators: Add positional argument specifiers.
Fix build errors with Python < 2.7.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Diffstat (limited to 'generated_tests/templates')
-rw-r--r-- | generated_tests/templates/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generated_tests/templates/__init__.py b/generated_tests/templates/__init__.py index 11c05ecd1..1bcc828bd 100644 --- a/generated_tests/templates/__init__.py +++ b/generated_tests/templates/__init__.py @@ -31,7 +31,7 @@ from mako.lookup import TemplateLookup # Based on a similar setup in framework/summary MAKO_TEMP_DIR = os.path.join(tempfile.gettempdir(), - 'piglit-{}'.format(getpass.getuser()), + 'piglit-{0}'.format(getpass.getuser()), 'generators', 'templates') TEMPLATE_DIR = os.path.abspath(os.path.dirname(__file__)) |