From 9db0c3b0b2f99a4b418d3b5476257304c900534b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 29 Jun 2010 08:50:29 -0400 Subject: [PATCH] Use ProfessorAdder.__call__() in prof/import.py --- sitecore/prof/import.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sitecore/prof/import.py b/sitecore/prof/import.py index 46f74d3..580bc53 100644 --- 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() + add = ProfessorAdder(s) + add.setup() for prof in profs: - a.add_profs(s, profs) + add(prof) finally: s.stop() -- 2.26.2