From 0fb8d9a1b3f5250bf16f9ad854c8696019c2d555 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 30 Jun 2010 21:05:45 -0400 Subject: [PATCH] Avoid name/filename collision in prof/import's create_prof_page --- 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 bd8c5c4..3b949a6 100644 --- a/sitecore/prof/import.py +++ b/sitecore/prof/import.py @@ -131,9 +131,9 @@ class ProfessorAdder (object): self.s.logger.info('handling copy popup %s (from %s, old %s)' % (popup, windows, current_window)) self.s.w.switch_to_window(popup) - name = self.s.w.find_element_by_id('Filename') - name.clear() - name.send_keys( + filename = self.s.w.find_element_by_id('Filename') + filename.clear() + filename.send_keys( '/sitecore/content/Home/physics/contact/facultyDirectory/%s' % name) self.s.w.find_element_by_id('OK').click() -- 2.26.2