DataMinerUK/Blog — pull request #1 by ShinNoNoir (2012-02-29 06:36:36+00:00)
Title: Applied some refactoring

```
# Refactoring part 1 (line 46):
k not in d.keys() == k not in d

# Refactoring part 2 (lines 55-61):
sortedKeys = d.keys()
sortedKeys.sort()
# can be replaced by:
sortedKeys = sorted(d)
```