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
cc8c672f
🤬
Sign In
Merge
pull request #64
from coolbet/master
Fixes uncaught exception
katherinebrews
committed with
GitHub
3 years ago
cc8c672f
2 parents
8893fa39
431d89b6
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