tags 776198 fixed-upstream patch
thanks

Hi,

> I accidentally ran lazygal against an empty directory ('symlinks'):
>
>   % lazygal -o output -t inverted symlinks
>
>   Traceback (most recent call last):
>     File "/usr/bin/lazygal", line 269, in <module>
>       progress.updated()
>     File "/usr/bin/lazygal", line 267, in update_progress
>       output_log.update_progress(py2compat._str(progress))
>     File "/usr/lib/python2.7/dist-packages/lazygal/py2compat.py", line 71, in 
> _str
>       return obj.__str__()
>     File "/usr/lib/python2.7/dist-packages/lazygal/generators.py", line 749, 
> in __str__
>       100 * self._medias_done // self._medias_total,
>   ZeroDivisionError: integer division or modulo by zero

The following patch should fix this. It will be part of the next
upstream version.
http://sousmonlit.zincube.net/~niol/repositories.hg/lazygal/rev/e669b8cac486

Thanks for reporting,

Alex


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to