Skip to content

Commit

Permalink
Re-enable StopIteration warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Sep 15, 2018
1 parent d92d76c commit 1101920
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scapy/tools/UTscapy.py
Expand Up @@ -975,8 +975,6 @@ def main(argv):
warnings.resetwarnings()
# Let's discover the garbage waste
warnings.simplefilter('error')
# TODO fix this: Scapy has too many StopIteration (deprecated)
warnings.filterwarnings('ignore', message=r'.*generator.*', category=DeprecationWarning)
print("### Warning mode enabled ###")
res = main(sys.argv[1:])
if cw:
Expand Down

0 comments on commit 1101920

Please sign in to comment.