[Python-modules-team] Bug#864496: python3-isc-dhcp-leases: if end field is missing library fails

Conrad Sachweh csachweh at install1.iwr.uni-heidelberg.de
Fri Jun 9 14:16:13 UTC 2017


Package: python3-isc-dhcp-leases
Version: 0.8.1-1
Severity: normal
Tags: patch

Dear Maintainer,

if a lease end date is missing the script fails
current version in github fixes exactly this bug
see patch below:

diff iscdhcpleases.py /usr/lib/python3/dist-packages/isc_dhcp_leases/iscdhcpleases.py
209c209
<         if properties.get('ends', 'never') == 'never':
---
>         if properties['ends'] == 'never':
270c270
<         if properties.get('ends', 'never') == 'never':
---
>         if properties['ends'] == 'never':

Thanks, Conrad


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/16 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-isc-dhcp-leases depends on:
ii  python3  3.5.3-1

python3-isc-dhcp-leases recommends no packages.

python3-isc-dhcp-leases suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list