summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGökçen Nurlu <gnurlu1@bloomberg.net>2017-12-06 13:59:48 +0000
committerJürg Billeter <j@bitron.ch>2017-12-11 12:12:11 +0100
commitf960ad156dadcd5fade1bf5e5595d54ae97a9cab (patch)
tree5e2c0cbefb257bafed782712298560da678fb95c
parentfe720cbdd7bbc79efce8e7dc5fd2005af973aa05 (diff)
downloadbuildstream-f960ad156dadcd5fade1bf5e5595d54ae97a9cab.tar.gz
_profile.py: Fix missing 'self.' keyword
-rw-r--r--buildstream/_profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_profile.py b/buildstream/_profile.py
index 461a9b3f9..a7fad0a97 100644
--- a/buildstream/_profile.py
+++ b/buildstream/_profile.py
@@ -75,7 +75,7 @@ class Profile():
heading += 'Profile for key: {}\n'.format(self.key)
heading += 'Started at: {}\n'.format(time)
if self.message:
- heading += '\n {}'.format(message)
+ heading += '\n {}'.format(self.message)
heading += '================================================================\n'
f.write(heading)
ps = pstats.Stats(self.profiler, stream=f).sort_stats('cumulative')