source:
trunk/packages/sipb-xen-base/files/usr/share/python-support/sipb-xen-base/invirt/config.py
@
766
Last change on this file since 766 was 766, checked in by price, 16 years ago | |
---|---|
File size: 243 bytes |
Line | |
---|---|
1 | import yaml |
2 | |
3 | default_path = '/etc/invirt/master.yaml' |
4 | |
5 | try: default_loader = yaml.CSafeLoader |
6 | except: default_loader = yaml.SafeLoader |
7 | |
8 | def load( path = default_path ): |
9 | return yaml.load( file(path), default_loader ) |
10 | |
11 | # vim:et:sw=4:ts=4 |
Note: See TracBrowser
for help on using the repository browser.