1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 20:51:30 +00:00
Files
nmap/zenmap/install_scripts/utils/version_update.py
dmiller 9e4d6f5f5c Fix encoding issues related to Python 3 upgrade.
Python 3 str() is a unicode already, so can't be decoded.
subprocess.Popen needs to be in text mode (universal_newlines is the
oldest compatible kwarg for this) in order to do line-based buffering.
In general, all the filesystem encoding stuff we were doing is done by
Python itself now.
2022-12-07 20:34:07 +00:00

5.8 KiB