Skip to content
Snippets Groups Projects
Commit 085e9805 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Fix python error

parent 65545ccb
No related branches found
No related tags found
1 merge request!701RPC Module
...@@ -66,14 +66,14 @@ def main(): ...@@ -66,14 +66,14 @@ def main():
for line in args["path"].readlines(): for line in args["path"].readlines():
# An example line is "// skipped field AdminKeysUpdateJSON.ChannelId with unsupported type: *gitlab.com/xx_network/primitives/id.ID" # An example line is "// skipped field AdminKeysUpdateJSON.ChannelId with unsupported type: *gitlab.com/xx_network/primitives/id.ID"
if line.startswith("// skipped "): if line.startswith("// skipped "):
execption = False skip = False
for e in exceptions: for e in exceptions:
if e in line: if e in line:
exception = True skip = True
break break
if skip:
if exception:
continue continue
parts = line.split(" ", 4) parts = line.split(" ", 4)
type = parts[2] type = parts[2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment