- Timestamp:
- Jul 27, 2008, 8:11:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-base/files/usr/share/python-support/sipb-xen-base/invirt/config.py
r726 r733 4 4 default_path = '/etc/invirt/master.yaml' 5 5 6 try: default_loader = yaml.CSafeLoader 7 except: default_loader = yaml.SafeLoader 8 6 9 def load( path = default_path ): 7 10 with file( path ) as f: 8 return yaml.load( f, yaml.CSafeLoader )11 return yaml.load( f, default_loader ) 9 12 10 13 # vim:et:sw=4:ts=4
Note: See TracChangeset
for help on using the changeset viewer.