change to python3.4 syntax
Merge pull request #25 from simonsmiley/python3.4

change to python3.4 syntax