]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Make kh2reg.py compatible with modern Python.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 24 Feb 2015 10:30:18 +0000 (10:30 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 24 Feb 2015 10:30:18 +0000 (10:30 +0000)
commit56a42d09d43e91603f3fbf01f5781bcbbc54a6bd
treeb1f8722144a99f169d38e7f8e116999e4aad34d7
parent087ca595f3f612f0d2de1d406b5fcc751cdd3566
Make kh2reg.py compatible with modern Python.

Bare string exceptions aren't supported any more.
Patch by Will Aoki, plus a backward compatibility tweak from Colin Watson.
Seen working with Python 2.4.3 and 2.7.6.
contrib/kh2reg.py