summaryrefslogtreecommitdiff
path: root/obbench
diff options
context:
space:
mode:
Diffstat (limited to 'obbench')
-rwxr-xr-xobbench6
1 files changed, 3 insertions, 3 deletions
diff --git a/obbench b/obbench
index c80b294..be11190 100755
--- a/obbench
+++ b/obbench
@@ -307,10 +307,10 @@ class ObnamBenchmarker(cliapp.Application):
name=obj['name'],
index=index)
- step['profile_filename'] = os.path.join(
- spec['html_dir'], basename)
- with open(step['profile_filename'], 'w') as profile:
+ filename = os.path.join(spec['html_dir'], basename)
+ with open(filename, 'w') as profile:
profile.write(step['profile'])
+ step['profile_filename'] = basename
reference = 'unknown'
if benchmark is not None: