Skip to content
Myr

xrange() is history in imagepipe.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Clauss · committed by GitHub · parent 6944450 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:examples/imagepipe/imagepipe.py+1 added-1 removed
208 unmodified lines
209 """Applies a smoothening filter."""210 for image in images:211 click.echo('Smoothening "%s" %d time%s' %212 (image.filename, iterations, iterations != 1 and 's' or '',))213 for x in xrange(iterations):213 for x in range(iterations):214 image = copy_filename(image.filter(ImageFilter.BLUR), image)215 yield image216217
49 unmodified lines