From 52d8c20b40735ac6288763ec82f398dafdaaac2e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 29 Aug 2015 22:12:54 +0100 Subject: [PATCH] debian/bin/buildcheck.py: Correct call to nonexistent sys.write() function --- debian/bin/buildcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/bin/buildcheck.py b/debian/bin/buildcheck.py index 07734a2a2..83802b739 100755 --- a/debian/bin/buildcheck.py +++ b/debian/bin/buildcheck.py @@ -220,7 +220,7 @@ class CheckImage(object): usage = (float(size)/value) * 100.0 out.write('Image size %d/%d, using %.2f%%. ' % (size, value, usage)) if size > value: - sys.write('Too large. Refusing to continue.\n') + out.write('Too large. Refusing to continue.\n') return 1 elif usage >= 99.0: out.write('Under 1%% space in %s. ' % self.changelog.distribution)