[linux] 02/03: debian/bin/buildcheck.py: Correct call to nonexistent sys.write() function
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sat Aug 29 22:59:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux.
commit 52d8c20b40735ac6288763ec82f398dafdaaac2e
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Sat Aug 29 22:12:54 2015 +0100
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 07734a2..83802b7 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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list