Debian Codegraph @

debian/patches/use_stdlib_csv.patch

raw
1 Description: use the standard library csv module
2
3 dirsearch 0.4.4 imports defusedcsv unconditionally through the report manager,
4 but defusedcsv is not packaged in Debian. Use Python's standard csv module so
5 the command can start without a non-Debian runtime dependency.
6
7 Author: Clay Stan <[email protected]>
8 Forwarded: not-needed
9 Last-Update: 2026-06-26
10
11 Index: dirsearch/lib/report/csv_report.py
12 ===================================================================
13 --- dirsearch.orig/lib/report/csv_report.py
14 +++ dirsearch/lib/report/csv_report.py
15 @@ -16,7 +16,7 @@
16 #
17 # Author: Mauro Soria
18
19 -from defusedcsv import csv
20 +import csv
21
22 from lib.core.decorators import locked
23 from lib.report.factory import BaseReport, FileReportMixin