projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a4d6f
)
Allow . as well as , to separate year from degree institution
author
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:11:25 +0000
(18:11 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:11:25 +0000
(18:11 -0400)
sitecore/prof/export_mysql.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/export_mysql.py
b/sitecore/prof/export_mysql.py
index 59ee6a454d6efef3ee02a38e7327a5700bd689ef..906e6cdd58cd86717268625440468622f9547223 100644
(file)
--- a/
sitecore/prof/export_mysql.py
+++ b/
sitecore/prof/export_mysql.py
@@
-33,7
+33,7
@@
from .. import get_logger
from . import Name, Graduation, Contact, Bio, Professor
-GRADUATION_REGEXP = re.compile('^(\S*) +(\S*), (\D*)(
,
*(\d*))?$')
+GRADUATION_REGEXP = re.compile('^(\S*) +(\S*), (\D*)(
[,.]
*(\d*))?$')
"""Examples:
M.S. Physics, University of Calcutta, Calcutta, India