switched to python2.5
[invirt/packages/invirt-base.git] / files / usr / share / python-support / sipb-xen-base / invirt / config.py
1 from __future__ import with_statement
2 import yaml
3
4 default_path = '/etc/invirt/master.yaml'
5
6 def load( path = default_path ):
7     with file( path ) as f:
8         return yaml.load( f, yaml.CSafeLoader )
9
10 # vim:et:sw=4:ts=4