wushuyi / python-progressbar

Automatically exported from code.google.com/p/python-progressbar
Other
0 stars 0 forks source link

Fails on empty iterables #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Try this:

list(ProgressBar()([]))
AttributeError: next_update

Original issue reported on code.google.com by g2p.c...@gmail.com on 7 Oct 2012 at 5:00

GoogleCodeExporter commented 9 years ago
Thanks! Fixed on 
http://code.google.com/p/python-progressbar/source/detail?r=235f632a9c86d7a84c60
7151d5127652102549ab

Original comment by nilton.v...@gmail.com on 25 Dec 2012 at 7:11