From: gfawcett Date: Sun, 9 Jan 2011 20:44:03 +0000 (+0000) Subject: uwindsor: tweaks to eres import X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cc725e48d01a43f571d847b4eb4d0449cb5d0338;p=Syrup.git uwindsor: tweaks to eres import git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1175 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/conifer/uwindsor_migration/eres-into-syrup.py b/conifer/uwindsor_migration/eres-into-syrup.py index d789cc1..731b1f0 100644 --- a/conifer/uwindsor_migration/eres-into-syrup.py +++ b/conifer/uwindsor_migration/eres-into-syrup.py @@ -29,7 +29,9 @@ known_profs = dict([ ("Samson","psamson"), ("Dienesch","rdienesc"), ("Orsini","sorsini"), - ("Yun","yshhsy"),]) + ("Yun","yshhsy"), + ("Ku","janeku"), + ]) def ensure_user(username): user, created = User.objects.get_or_create(username=username) @@ -72,7 +74,7 @@ for course in COURSES: d = m.data.copy() if 'author2' in d: - d['author'] = '%s;%s' % (d['author'], d['author2']) + d['author'] = '%s; %s' % (d['author'], d['author2']) for key in ['_path', 'author2', 'course', 'datafile', 'filename', 'instructor', 'localid', 'term', 'type']: