Updated to use new Python features
Reindented
1 file changed