summaryrefslogtreecommitdiff
path: root/tools/generate-docs-nm-property-infos.py
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-10-25 12:12:36 +0200
committerThomas Haller <thaller@redhat.com>2022-10-25 12:12:44 +0200
commitea5cd47bc45ad0a0a9d6dc53ecaab7c1239a2372 (patch)
tree62827028483ef52239b71bf17dae01d237be1e9f /tools/generate-docs-nm-property-infos.py
parent85d5fb210b4d8eabfbfe730c9a7e6eff616d1657 (diff)
downloadNetworkManager-ea5cd47bc45ad0a0a9d6dc53ecaab7c1239a2372.tar.gz
tools: drop unused variables from "tools/generate-docs-nm-property-infos.py"
Found by lgtm.com.
Diffstat (limited to 'tools/generate-docs-nm-property-infos.py')
-rwxr-xr-xtools/generate-docs-nm-property-infos.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/generate-docs-nm-property-infos.py b/tools/generate-docs-nm-property-infos.py
index af14df5b13..58ad751ffa 100755
--- a/tools/generate-docs-nm-property-infos.py
+++ b/tools/generate-docs-nm-property-infos.py
@@ -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 == "":