Update common.py

Use modern dict syntax (Py2.7+)
Merge pull request #3 from ideasman42/patch-1

Update common.py