Skip to content

Commit

Permalink
Update parser.py documentation with a warning/clarification.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitram2342 authored and savon-noir committed Jan 17, 2025
1 parent ed0619e commit 6c0ee1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libnmap/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def parse(cls, nmap_data=None, data_type="XML", incomplete=False):
:param incomplete: enable you to parse interrupted nmap scans \
and/or incomplete nmap xml blocks by adding a </nmaprun> at \
the end of the scan.
the end of the scan. Be aware that this flag does not work for \
already valid XML files, because adding an XML tag will \
invalidate the XML.
:type incomplete: boolean
As of today, only XML parsing is supported.
Expand Down

0 comments on commit 6c0ee1a

Please sign in to comment.