From f960ad156dadcd5fade1bf5e5595d54ae97a9cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6k=C3=A7en=20Nurlu?= Date: Wed, 6 Dec 2017 13:59:48 +0000 Subject: _profile.py: Fix missing 'self.' keyword --- buildstream/_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.1