mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 10:10:28 +01:00
tools: drop unused variables from "tools/generate-docs-nm-property-infos.py"
Found by lgtm.com.
This commit is contained in:
parent
85d5fb210b
commit
ea5cd47bc4
1 changed files with 0 additions and 2 deletions
|
|
@ -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 == "":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue