projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b995904
)
Avoid name/filename collision in prof/import's create_prof_page
author
W. Trevor King
<wking@drexel.edu>
Thu, 1 Jul 2010 01:05:45 +0000
(21:05 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 1 Jul 2010 01:05:45 +0000
(21:05 -0400)
sitecore/prof/import.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/import.py
b/sitecore/prof/import.py
index bd8c5c480edcf81a7a70908d44e0699b198ffa55..3b949a636bff7b115e3132c0a5794da87370789f 100644
(file)
--- 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(
+
file
name = self.s.w.find_element_by_id('Filename')
+
file
name.clear()
+
file
name.send_keys(
'/sitecore/content/Home/physics/contact/facultyDirectory/%s'
% name)
self.s.w.find_element_by_id('OK').click()