projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa1de3
)
Use ProfessorAdder.__call__() in prof/import.py
author
W. Trevor King
<wking@drexel.edu>
Tue, 29 Jun 2010 12:50:29 +0000
(08:50 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 29 Jun 2010 12:52:21 +0000
(08:52 -0400)
sitecore/prof/import.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/import.py
b/sitecore/prof/import.py
index 46f74d3f0b5afc8e3bda6ee2e17bbb631431ef26..580bc53860a106416a283223068588414368be4b 100644
(file)
--- a/
sitecore/prof/import.py
+++ b/
sitecore/prof/import.py
@@
-99,9
+99,9
@@
Example setup before running:
s.start()
try:
s.login()
- a = ProfessorAdder(s)
- a.setup()
+ a
dd
= ProfessorAdder(s)
+ a
dd
.setup()
for prof in profs:
- a
.add_profs(s, profs
)
+ a
dd(prof
)
finally:
s.stop()