[open-ils-commits] r1307 - servres/trunk/conifer/syrup/views (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Apr 2 21:08:50 EDT 2011
Author: gfawcett
Date: 2011-04-02 21:08:49 -0400 (Sat, 02 Apr 2011)
New Revision: 1307
Modified:
servres/trunk/conifer/syrup/views/items.py
Log:
tweak
Modified: servres/trunk/conifer/syrup/views/items.py
===================================================================
--- servres/trunk/conifer/syrup/views/items.py 2011-04-03 01:08:46 UTC (rev 1306)
+++ servres/trunk/conifer/syrup/views/items.py 2011-04-03 01:08:49 UTC (rev 1307)
@@ -128,13 +128,13 @@
replacement = '; '.join(ris[risfield])
POST[field] = xlate(replacement)
break
- def space_comments(names):
+ def space_out_names(names):
# RIS doesn't put spaces after commas in names
return re.sub(',(?=[^ ])', ', ', names)
update('title', ('TI', 'T1'))
update('source_title', ('JO', 'JF'))
- update('author', ('AU', 'A1'), space_comments)
+ update('author', ('AU', 'A1'), space_out_names)
update('url', ('UR',))
update('volume', ('VL',))
update('issue', ('IS',))
More information about the open-ils-commits
mailing list