14
0

Accepting request 1108307 from home:mnhauke

- Update to version 0.10.0
  * Fix timezone awareness for Python 2.7.x
  * Support working with historical dhcpd.leases files
  * Use timezone-aware datetime objects
  * Refactor keyword argument passing to BaseLease

OBS-URL: https://build.opensuse.org/request/show/1108307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isc_dhcp_leases?expand=0&rev=7
This commit is contained in:
2023-09-04 07:53:35 +00:00
committed by Git OBS Bridge
parent d39f59ac5b
commit 46e4e46418
5 changed files with 20 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
Index: python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py
===================================================================
--- python-isc-dhcp-leases-0.9.1.orig/isc_dhcp_leases/iscdhcpleases.py
+++ python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py
diff --git a/isc_dhcp_leases/iscdhcpleases.py b/isc_dhcp_leases/iscdhcpleases.py
index e16677e..8578060 100644
--- a/isc_dhcp_leases/iscdhcpleases.py
+++ b/isc_dhcp_leases/iscdhcpleases.py
@@ -5,8 +5,6 @@ import re
import struct
import gzip
@@ -9,5 +9,5 @@ Index: python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py
-from six import iteritems
-
def parse_time(s):
"""
try:
utc = datetime.timezone.utc