Skip to content
Myr

Merge pull request #1416 from cclauss/patch-1

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

xrange() is history in imagepipe.py

authored by David Lord · committed by GitHub · parents 0e630d0, 163e55a · 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