forked from pool/python-isc_dhcp_leases
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user