projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec4e14
)
Don't require either . or , to separate year from degree institution
author
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:12:23 +0000
(18:12 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 26 Jun 2010 22:12:23 +0000
(18:12 -0400)
sitecore/prof/export_mysql.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/export_mysql.py
b/sitecore/prof/export_mysql.py
index 906e6cdd58cd86717268625440468622f9547223..1d1b7b0f563a397197fba6fe23ab12ae621003de 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