crash.software
Projects
Pull Requests
Issues
Builds
flan
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
flan
Commits
431d89b6
🤬
Sign In
Fixes uncaught exception
sudneo
committed
4 years ago
431d89b6
1 parent
22208563
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 1 files
■ ■ ■ ■
■
■
contrib/parsers/flan_xml_parser.py
skipped 84 lines
85
85
if port['state']['@state'] == 'closed':
86
86
return
87
87
88
-
app_name = self.get_app_name(port['service'])
88
+
try:
89
+
app_name = self.get_app_name(port['service'])
90
+
except KeyError:
91
+
app_name = "unknown"
89
92
port_num = port['@portid']
90
93
new_app = app_name not in self.results
91
94
self.results[app_name].locations[ip_addr].append(port_num)
skipped 65 lines
All occurrences
Please wait...
Page is in error, reload to recover