Update root.py

https://github.com/TurboGears/tg2/issues/51#issuecomment-39440086