tools: drop unused variables from "tools/generate-docs-nm-property-infos.py"

Found by lgtm.com.
This commit is contained in:
Thomas Haller 2022-10-25 12:12:36 +02:00
parent 85d5fb210b
commit ea5cd47bc4
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -180,7 +180,6 @@ def parse_data(tag, line_no, lines):
assert lines
parsed_data = {}
keyword = ""
first_line = True
indent = None
for line in lines:
assert "\n" not in line
@ -207,7 +206,6 @@ def parse_data(tag, line_no, lines):
if parsed_data and keyword == "property":
raise LineError(line_no, 'The "property:" keywork must be first')
parsed_data[keyword] = text
new_keyword_stated = True
indent = None
else:
if content == "":