From e8fb4a921486225cb284d3f57a6e1b93a8162543 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 29 Jun 2010 17:01:32 -0400 Subject: [PATCH] yaml.load() takes an open stream, not a file name --- sitecore/prof/import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sitecore/prof/import.py b/sitecore/prof/import.py index e603b31..4848815 100644 --- a/sitecore/prof/import.py +++ b/sitecore/prof/import.py @@ -100,7 +100,7 @@ Example setup before running: options,args = p.parse_args(argv[1:]) prof_file = args[0] - profs = yaml.load(prof_file) + profs = yaml.load(open(prof_file, 'r')) s = SiteCoreConnection(options.url, options.verbose) s.start() -- 2.26.2