debian/bin/buildcheck.py: Correct call to nonexistent sys.write() function

This commit is contained in:
Ben Hutchings 2015-08-29 22:12:54 +01:00
parent 6b977589fb
commit 52d8c20b40
1 changed files with 1 additions and 1 deletions

View File

@ -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)