Skip to content

Commit

Permalink
add documentation of fix
Browse files Browse the repository at this point in the history
  • Loading branch information
polybassa committed Dec 10, 2020
1 parent aed1e9f commit 15ae023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scapy_packet_viewer/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def filter_changed(self, new_filter):
except AttributeError as e:
attribute_error_count += 1
last_exception = e
# Suppress attribute errors, if they don't apply for all packets in packet_view.body
if len(self.packet_view.body) == attribute_error_count:
raise last_exception
except NameError:
Expand Down

0 comments on commit 15ae023

Please sign in to comment.