Replace è with e, since SiteCore doesn't like UTF-8 in Vallières
authorW. Trevor King <wking@drexel.edu>
Thu, 1 Jul 2010 04:32:50 +0000 (00:32 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 1 Jul 2010 04:32:50 +0000 (00:32 -0400)
sitecore/prof/import.py

index 023a45dee4b4015d1978bc5d19d2e08a876e8c53..3a6513c609c6874d377e415399925a5a5ba75cfe 100644 (file)
@@ -74,7 +74,7 @@ class ProfessorAdder (object):
 
     def __call__(self, prof):
         name = ('%s %s' % (prof.name.first_middle, prof.name.last)).replace(
-            '.', '')
+            '.', '').replace(u'\xe8', 'e')
         self.create_prof_page(name)
         self.lock_section(name)
         settings = [