summaryrefslogtreecommitdiffstats
path: root/tools/delete_includes.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /tools/delete_includes.py
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/delete_includes.py')
-rwxr-xr-xtools/delete_includes.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/delete_includes.py b/tools/delete_includes.py
index cc804e0b..8ea5e806 100755
--- a/tools/delete_includes.py
+++ b/tools/delete_includes.py
@@ -18,7 +18,6 @@ import sys
import shutil
import argparse
import signal
-import re
from pathlib import Path
@@ -190,8 +189,6 @@ def test_file(filename):
# Don't want to delete 'self-includes', so prepare filename.
module_name = Path(filename).stem
- extension = Path(filename).suffix
-
module_header = module_name + '.h'
# Loop around, finding all possible include lines to comment out