projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d5d20e
)
yaml.load() takes an open stream, not a file name
author
W. Trevor King
<wking@drexel.edu>
Tue, 29 Jun 2010 21:01:32 +0000
(17:01 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 29 Jun 2010 21:01:32 +0000
(17:01 -0400)
sitecore/prof/import.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/import.py
b/sitecore/prof/import.py
index e603b31eaed426f6537220d2e5f617011fff1ece..4848815c17430657574eded213b5ee1baabd5f94 100644
(file)
--- 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()