projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff8925
)
SiteCore doesn't allow for periods in page names
author
W. Trevor King
<wking@drexel.edu>
Thu, 1 Jul 2010 03:18:06 +0000
(23:18 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 1 Jul 2010 03:18:06 +0000
(23:18 -0400)
sitecore/prof/import.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/import.py
b/sitecore/prof/import.py
index 95e07abb0c7a62a2cce1032ca381f7673e161c59..023a45dee4b4015d1978bc5d19d2e08a876e8c53 100644
(file)
--- a/
sitecore/prof/import.py
+++ b/
sitecore/prof/import.py
@@
-73,7
+73,8
@@
class ProfessorAdder (object):
self.s.expand_nav_section('facultyDirectory')
def __call__(self, prof):
- name = '%s %s' % (prof.name.first_middle, prof.name.last)
+ name = ('%s %s' % (prof.name.first_middle, prof.name.last)).replace(
+ '.', '')
self.create_prof_page(name)
self.lock_section(name)
settings = [