from __future__ import with_statement import yaml default_path = '/etc/invirt/master.yaml' def load( path = default_path ): with file( path ) as f: return yaml.load( f, yaml.CSafeLoader ) # vim:et:sw=4:ts=4