]> granicus.if.org Git - handbrake/commit
scripts: Modernize Python.
authorqarkai <qarkai@gmail.com>
Sat, 10 Sep 2016 12:57:27 +0000 (15:57 +0300)
committerBradley Sepos <bradley@bradleysepos.com>
Sat, 4 Mar 2017 14:06:30 +0000 (09:06 -0500)
commitb34b6735a0cf072f0b1683266ab9a067686b159a
tree1364954a0b19a459922eab200274c9717465d400
parent59dc22b8690e566270b6a543aa8856e11531578b
scripts: Modernize Python.

Replace getopt with argparse
Remove useless globals
Fix PEP8 warnings
Replace top() with native list index
Handle Expat exceptions

Closes #321.
scripts/create_resources.py
scripts/quotestring.py