Update views.py

I had some problems with virtual machines having an id > 10
Merge branch 'patch-1' of git://github.com/gtranche/webvirtmgr into gtranche-patch-1
Fix pep8