From df6d79c9dcb94fec76f60eecb3c823c66a45d66e Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Thu, 12 Jan 2023 14:48:07 +0100 Subject: [PATCH] v0.3.2 --- rfc1924/__init__.py | 2 +- rfc1924/rfc1924.py | 7 +------ setup.py | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/rfc1924/__init__.py b/rfc1924/__init__.py index 664d96e..5be8a28 100644 --- a/rfc1924/__init__.py +++ b/rfc1924/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.1" +__version__ = "0.3.2" __author__ = "0xflotus" from .rfc1924 import encode, decode, savings diff --git a/rfc1924/rfc1924.py b/rfc1924/rfc1924.py index fdb8beb..47d6cc2 100644 --- a/rfc1924/rfc1924.py +++ b/rfc1924/rfc1924.py @@ -96,12 +96,7 @@ def encode(ipv6): map( lambda chr: lookup_table[chr], reversed( - list( - map( - lambda cnt: int(IPv6Address(ipv6)) // 0x55 ** cnt % 0x55, - range(0o24), - ) - ) + [int(IPv6Address(ipv6)) // 0x55 ** cnt % 0x55 for cnt in range(0o24)] ), ), ) diff --git a/setup.py b/setup.py index 3805622..40b992c 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="rfc1924", - version="0.3.1", + version="0.3.2", description="Implementation of RFC 1924", long_description=README, long_description_content_type="text/markdown",