Package: lazygal
Version: 0.8.7-1
Severity: minor

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

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
 .''`.   martin f. krafft <[email protected]> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to