diff options
author | Thomas Haller <thaller@redhat.com> | 2022-10-25 12:12:36 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-10-25 12:12:44 +0200 |
commit | ea5cd47bc45ad0a0a9d6dc53ecaab7c1239a2372 (patch) | |
tree | 62827028483ef52239b71bf17dae01d237be1e9f /tools/generate-docs-nm-property-infos.py | |
parent | 85d5fb210b4d8eabfbfe730c9a7e6eff616d1657 (diff) | |
download | NetworkManager-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-x | tools/generate-docs-nm-property-infos.py | 2 |
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 == "": |