Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Fix casing on dict lookup for PTR records #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blockstack_zones/parse_zone_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def parse_line(parser, record_token, parsed_records):
if record_dict[field] is None:
del record_dict[field]

current_origin = record_dict.get('$ORIGIN', parsed_records.get('$ORIGIN', None))
current_origin = record_dict.get('$origin', parsed_records.get('$origin', None))

# special record-specific fix-ups
if record_type == 'PTR':
Expand Down