[Python-modules-commits] [python-progressbar] 01/09: write() to stdout in the example
Sandro Tosi
morph at moszumanska.debian.org
Fri Apr 15 21:04:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository python-progressbar.
commit 887508a1f5cae93accc5e3c334cf786ca9a612b7
Author: Sandro Tosi <morph at debian.org>
Date: Fri Apr 15 21:20:13 2016 +0100
write() to stdout in the example
---
examples.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples.py b/examples.py
index b387c41..e07232d 100644
--- a/examples.py
+++ b/examples.py
@@ -191,4 +191,4 @@ if __name__ == '__main__':
try:
for example in examples: example()
except KeyboardInterrupt:
- sys.stdout('\nQuitting examples.\n')
+ sys.stdout.write('\nQuitting examples.\n')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-progressbar.git
More information about the Python-modules-commits
mailing list