bl4de / security-tools

My collection of various security tools created mostly in Python and Bash. For CTFs and Bug Bounty.
MIT License
863 stars 176 forks source link

Modernize Python 2 code to get ready for Python 3 #20

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

Make the minimal, safe changes required to convert the repo's code to be syntax compatible with both Python 2 and Python 3. There may be more changes required to complete a port to Python 3 but this is a minimal, safe first step.

Run: futurize --stage1 -w */.py

See Stage 1: "safe" fixes http://python-future.org/automatic_conversion.html#stage-1-safe-fixes