[Python-checkins] python/nondist/peps pep-0342.txt,1.7,1.8
pje@users.sourceforge.net
pje at users.sourceforge.net
Sun Jun 26 18:51:39 CEST 2005
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv596
Modified Files:
pep-0342.txt
Log Message:
Oops, fix more typos. Guess I'm still short on sleep. :)
Index: pep-0342.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0342.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pep-0342.txt 26 Jun 2005 16:29:14 -0000 1.7
+++ pep-0342.txt 26 Jun 2005 16:51:37 -0000 1.8
@@ -424,13 +424,14 @@
while True:
filename = os.path.join(dirname,"page%04d.jpg" % fileno)
write_jpeg((yield), filename)
+ fileno += 1
# Put them together to make a function that makes thumbnail
# pages from a list of images and other parameters.
#
def write_thumbnails(pagesize, thumbsize, images, output_dir):
- pipeline = paginate(
+ pipeline = thumbnail_pager(
pagesize, thumbsize, jpeg_writer(output_dir)
)
More information about the Python-checkins
mailing list