summaryrefslogtreecommitdiffstats
path: root/pkb_client/helper.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-11-20 01:17:40 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2024-11-20 01:17:40 -0500
commit3e3ebe586385a83b10c8f1d0b9ba9b67c8b56d2f (patch)
tree5682f748fc9867166043734aad44e1734d16abeb /pkb_client/helper.py
parentfa197fe27b8a03bbf4504476f842956ece2c76c9 (diff)
New upstream version 2.0.0.upstream/2.0.0
Diffstat (limited to 'pkb_client/helper.py')
-rw-r--r--pkb_client/helper.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/pkb_client/helper.py b/pkb_client/helper.py
deleted file mode 100644
index 0c08167..0000000
--- a/pkb_client/helper.py
+++ /dev/null
@@ -1,15 +0,0 @@
-def parse_dns_record(record: dict) -> dict:
- """
- Parse the DNS record.
- Replace the ttl and prio string values with the int values.
-
- :param record: the unparsed DNS record dict
-
- :return: the parsed dns record dict
- """
- if record.get("ttl", None) is not None:
- record["ttl"] = int(record["ttl"])
- if record.get("prio", None) is not None:
- record["prio"] = int(record["prio"])
-
- return record