The use of env as a global variable in dbhelper.py looks dangerous
|Reported by:||Owned by:||Russ Tyndall|
Unless I'm missing something the way dbhelper.py stores the env in a global variable is really unsafe. With thread based frontends like tracd or fastcgi this global variable can at anytime be modified by another thread to point to another environment. And this can cause the wrong database to be modified.