projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2219315
)
Allow multi-word graduation fields
author
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:13:14 +0000
(18:13 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:13:14 +0000
(18:13 -0400)
sitecore/prof/export_mysql.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/export_mysql.py
b/sitecore/prof/export_mysql.py
index 1d1b7b0f563a397197fba6fe23ab12ae621003de..973025adcde11988dd7c9544320ea06f8e45b4f2 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*) +(
[^,]
*), (\D*)([,.]? *(\d*))?$')
"""Examples:
M.S. Physics, University of Calcutta, Calcutta, India