1.1 --- a/examples/PyGmy/ppygmy_pmap.py Thu Sep 13 22:01:39 2007 +0000
1.2 +++ b/examples/PyGmy/ppygmy_pmap.py Thu Sep 13 22:02:15 2007 +0000
1.3 @@ -370,9 +370,7 @@
1.4 total = self.width * self.height
1.5 count = 0
1.6
1.7 - heights = [[h] for h in xrange(0, self.height)]
1.8 -
1.9 - for sy, row in enumerate(pprocess.pmap(self.render_row, heights, limit)):
1.10 + for sy, row in enumerate(pprocess.pmap(self.render_row, xrange(0, self.height), limit)):
1.11 for sx, col in enumerate(row):
1.12 draw.point((sx,sy),fill=(col.x*255,col.y*255,col.z*255))
1.13 count = count + 1