open_environment(env_path=None,
use_cache=False)
source code
Open an existing environment object, and verify that the database is up
to date.
- @param env_path: absolute path to the environment directory; if ommitted,
- the value of the
TRAC_ENV environment variable is used
- @param use_cache: whether the environment should be cached for subsequent
- invocations of this function
@return: the Environment object